diff options
Diffstat (limited to 'home/profiles/fish.nix')
| -rw-r--r-- | home/profiles/fish.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/home/profiles/fish.nix b/home/profiles/fish.nix new file mode 100644 index 0000000..5adb99b --- /dev/null +++ b/home/profiles/fish.nix @@ -0,0 +1,21 @@ +{ ... }: +{ + programs.fish = { + enable = true; + interactiveShellInit = '' + set fish_greeting "" + + # Add utmctl to PATH + fish_add_path /Applications/UTM.app/Contents/MacOS/ + ''; + shellAbbrs = { + ncg = "nix-collect-garbage --delete-older-than 7d"; + ndc = "nix develop --command"; + nfc = "nix flake check"; + ngcroot = "ls -al /nix/var/nix/gcroots/auto/"; + nph = "nix profile history --profile /nix/var/nix/profiles/system"; + nsn = "nix search nixpkgs"; + nsv = "nix store verify --all"; + }; + }; +} |
