From 445ac0518d94943f34c7c37e38db2fc8ed9eeb64 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 29 Nov 2023 07:17:41 +0000 Subject: [PATCH] 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 --- home/default.nix | 21 ++++++++------------- system/default.nix | 2 -- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/home/default.nix b/home/default.nix index 1f3b3b5a..3f2421b6 100644 --- a/home/default.nix +++ b/home/default.nix @@ -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 = ""; }; }; diff --git a/system/default.nix b/system/default.nix index ce027838..2c7998aa 100644 --- a/system/default.nix +++ b/system/default.nix @@ -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 = {