changed rebuild commands to use the repo
This commit is contained in:
@@ -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
|
||||
'')
|
||||
|
||||
@@ -187,7 +187,7 @@ bind = $mainMod, R, exec, colorPrefix kitty -e _systemRebuild
|
||||
|
||||
bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
|
||||
|
||||
bind = $mainMod, C, exec, colorPrefix kitty -e bash -c "cd ~/.nixos; nvim /home/nathan/.nixos/flake.nix"
|
||||
bind = $mainMod, C, exec, colorPrefix kitty -e bash -c "cd ~/Projects/System; nvim"
|
||||
|
||||
bind = $mainMod, F, exec, thunar
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
|
||||
Reference in New Issue
Block a user