From d9f61dfee45f58141b3490fc52d1fdd21e620010 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Wed, 16 Oct 2024 22:09:36 +0200 Subject: [PATCH] feat: add os-upgrade alias that also updates the flakes --- home/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/zsh.nix b/home/zsh.nix index d8a96c1..eecdb6f 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -5,6 +5,7 @@ autocd = true; shellAliases = { os-update = "nh os switch /home/rhea/nix-config/"; + os-upgrade = "cd ~/nix-config && nix flake update && nh os switch /home/rhea/nix-config/"; }; autosuggestion = {