diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-02 12:06:12 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-02 12:06:12 -0800 |
| commit | 9dadee200241480f3c20677bf6aea63126bb880f (patch) | |
| tree | 7757c2d7c8e2cf8bbd3fd17efbef58d5bd68b088 /home/programs/fish.nix | |
| parent | initial setup for ollama (diff) | |
| download | infra-9dadee200241480f3c20677bf6aea63126bb880f.tar.gz | |
one last big shuffle
Diffstat (limited to 'home/programs/fish.nix')
| -rw-r--r-- | home/programs/fish.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/home/programs/fish.nix b/home/programs/fish.nix new file mode 100644 index 0000000..1e1ef36 --- /dev/null +++ b/home/programs/fish.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: +{ + programs.fish = { + enable = true; + interactiveShellInit = '' + set fish_greeting "" + ''; + 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"; + }; + }; + + home.sessionVariables = { + SHELL = "${pkgs.fish}/bin/fish"; + }; +} |
