1770344115

This commit is contained in:
2026-02-05 19:15:15 -07:00
parent 2a922d572e
commit f1c4902466
2 changed files with 4 additions and 4 deletions

View File

@@ -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";