From e345b770286fb319e0e55a3b79f9f5597bc120fd Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Sun, 13 Oct 2024 20:11:04 +0200 Subject: [PATCH] feat: add os-update alias --- modules/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) 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'" + } }