Minor refactor

This commit is contained in:
rotterdam 2023-04-05 11:46:03 -03:00
parent b9f445c747
commit 37c6e842f1
12 changed files with 48 additions and 69 deletions

View file

@ -11,6 +11,35 @@
enable = true;
enableFishIntegration = true;
};
direnv = {
enable = true;
nix-direnv.enable = true;
};
tmux = {
enable = true;
clock24 = true;
extraConfig = "set -g mouse on";
};
starship = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
git = {
enable = true;
diff-so-fancy.enable = true;
userName = "William";
userEmail = "baduhai@proton.me";
};
btop = {
enable = true;
settings = {
color_theme = "catppuccin_mocha.theme";
theme_background = false;
proc_sorting = "cpu direct";
update_ms = 500;
};
};
micro = {
enable = true;
settings = {
@ -23,24 +52,10 @@
relativeruler = true;
};
};
starship = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
btop = {
enable = true;
settings = {
color_theme = "catppuccin_mocha.theme";
theme_background = false;
proc_sorting = "cpu direct";
update_ms = 500;
};
};
fish = {
enable = true;
# interactiveShellInit = "nix-your-shell fish | source"; # nix-your-shell only in unstable
# loginShellInit = "nix-your-shell fish | source";
interactiveShellInit = "nix-your-shell fish | source";
loginShellInit = "nix-your-shell fish | source";
shellAliases = {
nano = "micro";
wget = ''wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'';
@ -74,10 +89,5 @@
}
];
};
tmux = {
enable = true;
clock24 = true;
extraConfig = "set -g mouse on";
};
};
}