aboutsummaryrefslogblamecommitdiff
path: root/home/profiles/fish.nix
blob: 5adb99bea752c86840947ec63b90d1d718d22baa (plain) (tree)
1
2
3
4
5
6
7






                             










                                                                         
      

    
{ ... }:
{
  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";
    };
  };
}