aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/fish.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
commitcb961051f8307a0bfd6e75acb52a7b7ac003e4d0 (patch)
treec2e3e29716bf10bb5d95d2c11d8692672c379c5f /home/profiles/fish.nix
parentmove remote-unlock as a profile (diff)
downloadinfra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz
simplify configuration for darwin
Diffstat (limited to 'home/profiles/fish.nix')
-rw-r--r--home/profiles/fish.nix21
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";
+ };
+ };
+}