changed rebuild commands to use the repo
This commit is contained in:
@@ -15,13 +15,13 @@
|
|||||||
#scripts
|
#scripts
|
||||||
(pkgs.writeShellScriptBin "_systemRebuild" ''
|
(pkgs.writeShellScriptBin "_systemRebuild" ''
|
||||||
sudo nix flake lock /home/nathan/.nixos --update-input nathan --update-input root --update-input system
|
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//////
|
echo //////Enter to close//////
|
||||||
read
|
read
|
||||||
'')
|
'')
|
||||||
(pkgs.writeShellScriptBin "_homeRebuild" ''
|
(pkgs.writeShellScriptBin "_homeRebuild" ''
|
||||||
sudo nix flake lock /home/nathan/.nixos --update-input nathan --update-input root
|
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//////
|
echo //////Enter to close//////
|
||||||
read
|
read
|
||||||
'')
|
'')
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ bind = $mainMod, R, exec, colorPrefix kitty -e _systemRebuild
|
|||||||
|
|
||||||
bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
|
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, F, exec, thunar
|
||||||
bind = $mainMod SHIFT, F, fullscreen
|
bind = $mainMod SHIFT, F, fullscreen
|
||||||
|
|||||||
Reference in New Issue
Block a user