From 0c303a07f712a92ee921d30ace6f5c5a2936fdee Mon Sep 17 00:00:00 2001 From: foglar Date: Thu, 2 Jan 2025 21:08:47 +0100 Subject: [PATCH] fix update --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 960a94b..4c4694f 100755 --- a/install.sh +++ b/install.sh @@ -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"