Add eza: a replacement for ls

Enable extra settings for eza (git integration, ls aliases)

Remove some oh-my-zsh plugins I wasn't using anyway

Remove "rebuild" alias
This commit is contained in:
Evie Litherland-Smith 2023-11-29 07:17:41 +00:00
parent fd05e7c703
commit 445ac0518d
2 changed files with 8 additions and 15 deletions

View file

@ -32,6 +32,13 @@
}; };
programs = { programs = {
bash.enable = true; bash.enable = true;
eza = {
enable = true;
git = true;
icons = true;
enableAliases = true;
extraOptions = [ "--octal-permissions" ];
};
readline = { readline = {
enable = true; enable = true;
includeSystemConfig = true; includeSystemConfig = true;
@ -265,19 +272,7 @@
''; '';
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [ "colored-man-pages" "lol" "rand-quote" ];
# Productivity
"aliases"
"colored-man-pages"
"command-not-found"
"extract"
# Build tools
"git"
"gitignore"
# Misc
"lol"
"rand-quote"
];
theme = ""; theme = "";
}; };
}; };

View file

@ -8,8 +8,6 @@ in {
environment = { environment = {
systemPackages = with pkgs; [ libsecret git nitch dig gnumake fd ripgrep ]; systemPackages = with pkgs; [ libsecret git nitch dig gnumake fd ripgrep ];
localBinInPath = true; localBinInPath = true;
shellAliases.rebuild =
''sudo nixos-rebuild switch --flake "${flakeURL}" --refresh'';
}; };
console.keyMap = "uk"; console.keyMap = "uk";
programs = { programs = {