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

View file

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