feat: add os-upgrade alias that also updates the flakes

This commit is contained in:
EinEtwas 2024-10-16 22:09:36 +02:00
parent a4fe057aa2
commit d9f61dfee4

View file

@ -5,6 +5,7 @@
autocd = true; autocd = true;
shellAliases = { shellAliases = {
os-update = "nh os switch /home/rhea/nix-config/"; 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 = { autosuggestion = {