diff --git a/modules/shell.nix b/modules/shell.nix index e11c81e..07fa1b6 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -2,4 +2,8 @@ programs.zsh.enable = true; programs.zsh.ohMyZsh.enable = true; programs.zsh.ohMyZsh.theme = "agnoster"; + + environment.shellAliases = { + os-update = "sudo nixos-rebuild switch --flake '/home/rhea/nix-config'" + } }