diff --git a/flake.lock b/flake.lock index ebe572a..cf5011a 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1769580047, - "narHash": "sha256-tNqCP/+2+peAXXQ2V8RwsBkenlfWMERb+Uy6xmevyhM=", + "lastModified": 1770260404, + "narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=", "owner": "nix-community", "repo": "home-manager", - "rev": "366d78c2856de6ab3411c15c1cb4fb4c2bf5c826", + "rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b", "type": "github" }, "original": { diff --git a/modules/home/cli.nix b/modules/home/cli.nix index e554e6b..e93e919 100644 --- a/modules/home/cli.nix +++ b/modules/home/cli.nix @@ -4,7 +4,7 @@ home.shellAliases = { # Nix Commands "nix:rebuild" = "sudo nixos-rebuild switch --flake /etc/nixos"; - "nix:update" = "cd /etc/nixos && nix flake update"; + "nix:update" = "cd /etc/nixos && nix flake update && sudo nixos-rebuild switch --flake ."; "nix:purge" = "sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot"; "nix:edit" = "$EDITOR /etc/nixos"; "nix:push" = "cd /etc/nixos && git add -A && git commit -m \"$(date -u +%s)\" && git push";