changed rebuild commands to use the repo

This commit is contained in:
2024-10-02 11:57:56 -05:00
parent 7f9dab07d1
commit 208120f50a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,13 +15,13 @@
#scripts
(pkgs.writeShellScriptBin "_systemRebuild" ''
sudo nix flake lock /home/nathan/.nixos --update-input nathan --update-input root --update-input system
${pkgs.nh}/bin/nh os switch --ask /home/nathan/.nixos
${pkgs.nh}/bin/nh os switch --ask /home/nathan/Projects/System
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "_homeRebuild" ''
sudo nix flake lock /home/nathan/.nixos --update-input nathan --update-input root
${pkgs.nh}/bin/nh home switch --ask /home/nathan/.nixos
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/System
echo //////Enter to close//////
read
'')