diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-26 11:01:53 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-26 11:01:53 -0700 |
| commit | 17e871833d66f7fc6a6fcab043e51b196f103855 (patch) | |
| tree | 1bcb86bbee7fade4015745536aa6ae33804a99fe /users/programs/fish.nix | |
| parent | fix alacritty configuration (diff) | |
| download | infra-17e871833d66f7fc6a6fcab043e51b196f103855.tar.gz | |
moved every programs under users/programs
Configurations specific to work are managed in the work profile.
Diffstat (limited to 'users/programs/fish.nix')
| -rw-r--r-- | users/programs/fish.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/users/programs/fish.nix b/users/programs/fish.nix new file mode 100644 index 0000000..e5a1013 --- /dev/null +++ b/users/programs/fish.nix @@ -0,0 +1,26 @@ +{ ... }: +{ + programs.fish = { + enable = true; + interactiveShellInit = '' + set fish_greeting "" + + fish_add_path -p ~/.cargo/bin/ + + # 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"; + + g = "git"; + gap = "git add --patch"; + }; + }; +} |
