Skip to content

Commit

Permalink
fix: actually make the rebuild-all shell abbreviation work
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jul 16, 2023
1 parent bd5b687 commit 973c4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
'';
shellAbbrs = {
nix-gc = "sudo nix-collect-garbage --delete-older-than 14d";
rebuild-all = "rebuild-host && rebuild-home";
rebuild-all = "sudo nix-collect-garbage --delete-older-than 14d && sudo nixos-rebuild switch --flake $HOME/Zero/nix-config && home-manager switch -b backup --flake $HOME/Zero/nix-config";
rebuild-home = "home-manager switch -b backup --flake $HOME/Zero/nix-config";
rebuild-host = "sudo nixos-rebuild switch --flake $HOME/Zero/nix-config";
rebuild-lock = "pushd $HOME/Zero/nix-config && nix flake lock --recreate-lock-file && popd";
Expand Down

0 comments on commit 973c4a0

Please sign in to comment.