Add extra nix shell abbreviations

This commit is contained in:
Evie Litherland-Smith 2023-05-09 13:47:45 +01:00
parent 28e2f9e82c
commit dee52a5583
2 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,9 @@
home.username = "elitherl"; home.username = "elitherl";
home.homeDirectory = "/home/elitherl"; home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix";
programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch";
}; };
system.autoUpgrade = { system.autoUpgrade = {

View file

@ -41,6 +41,7 @@
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.packages = with pkgs; [ prismlauncher ]; home.packages = with pkgs; [ prismlauncher ];
programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix";
programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch"; programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch";
}; };