diff --git a/hosts/server/home.nix b/hosts/server/home.nix index 2c53f17..305af30 100644 --- a/hosts/server/home.nix +++ b/hosts/server/home.nix @@ -45,6 +45,10 @@ rustup ]; + programs.zsh.shellAliases = { + utest = "sudo nixos-rebuild test --flake github:itepastra/nixconf#server"; + update = "sudo nixos-rebuild switch --flake github:itepastra/nixconf#server"; + }; # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'.