From a44692d7911629b90207774552e0fb02cf14515f Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Fri, 29 Mar 2024 13:31:25 +0000 Subject: [PATCH] Add utilities and bash aliases --- home.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/home.nix b/home.nix index 5612b718..07a90cfd 100644 --- a/home.nix +++ b/home.nix @@ -17,8 +17,12 @@ obsidian signal-desktop fragments + pitivi + pika-backup + neofetch unzip + eza # Note to self: This config does not include games/benchmarks. I'm using flatpak for those. @@ -207,6 +211,11 @@ }; }; + programs.bat = { + enable = true; + extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep ]; + }; + gtk = { enable = true; cursorTheme = { @@ -280,9 +289,14 @@ enable = true; enableCompletion = true; shellAliases = { - ls = "ls --color=auto"; - grep = "grep --color=auto"; + l = "eza -alhM --git --total-size --icons"; + ls = "eza --icons"; + ll = "eza -lhiM --git --total-size --icons --tree"; + tree = "eza --tree"; + grep = "batgrep"; code = "codium"; + cat = "bat"; + man = "batman"; }; initExtra = "set completion-ignore-case On"; bashrcExtra = ''