fix update

This commit is contained in:
foglar 2025-01-02 21:08:47 +01:00
parent 5fccc0499b
commit 0c303a07f7

View File

@ -20,7 +20,7 @@ fi
$EDITOR $SCRIPT_DIR/flake.nix
profile=$(gum choose kogami ginoza)
sudo nixos-rebuild build --flake $SCRIPT_DIR#"''${profile}"
sudo nixos-rebuild build --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"