From c3ff2decad3666f734e17e9a516f41017506af9f Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Wed, 4 Feb 2026 15:53:30 -0700 Subject: [PATCH] 1770245610 --- modules/home/cli.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/cli.nix b/modules/home/cli.nix index 0e899c2..942da1a 100644 --- a/modules/home/cli.nix +++ b/modules/home/cli.nix @@ -3,8 +3,8 @@ { home.shellAliases = { # Nix Commands - "nix:rebuild" = "sudo nixos-rebuild switch"; - "nix:update" = "sudo nixos-rebuild switch --upgrade"; + "nix:rebuild" = "sudo nixos-rebuild switch --flake .#$(HOSTNAME)"; + "nix:update" = "nix flake update"; "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";