fix
This commit is contained in:
parent
0674f983b2
commit
1bfc9a50ad
@ -20,7 +20,7 @@ fi
|
|||||||
$EDITOR $SCRIPT_DIR/flake.nix
|
$EDITOR $SCRIPT_DIR/flake.nix
|
||||||
|
|
||||||
profile=$(gum choose kogami ginoza)
|
profile=$(gum choose kogami ginoza)
|
||||||
sudo nixos-rebuild build --flake $SCRIPT_DIR#''"${profile}" --update
|
sudo nixos-rebuild build --flake $SCRIPT_DIR#"''${profile}" --update
|
||||||
|
|
||||||
gum confirm "Do you want to switch to the new configuration?" && sudo nixos-rebuild switch --flake $SCRIPT_DIR#"${profile}"
|
gum confirm "Do you want to switch to the new configuration?" && sudo nixos-rebuild switch --flake $SCRIPT_DIR#"${profile}"
|
||||||
gum confirm "Do you want to reboot now?" && systemctl reboot || echo "Please reboot later, to switch to the new configuration"
|
gum confirm "Do you want to reboot now?" && systemctl reboot || echo "Please reboot later, to switch to the new configuration"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user