Add update-laptop shell alias

Introduced a new shell alias 'update-laptop' to automate updating the laptop's Nix flake configuration and rebuilding the system.
This commit is contained in:
2025-10-26 22:59:53 +00:00
parent 7be16e5072
commit c2695ea673

View File

@@ -90,6 +90,7 @@
shellAliases = {
ll = "ls -la";
update = "sudo nixos-rebuild switch --flake .#my-machine";
update-laptop = "cd /home/zeph/nix-flake && git reset --hard origin/main && git pull && nix flake update && sudo nixos-rebuild switch --flake .#laptop";
};
};