diff --git a/module/script.nix b/module/script.nix index b657907..4c20d1b 100644 --- a/module/script.nix +++ b/module/script.nix @@ -157,7 +157,9 @@ do_update() { if [[ -f /boot/grub/grub.cfg ]] then echo "bootloader 'GRUB' detected, configuring test-boot into new system" - "''${latest_system}/bin/switch-to-configuration" "boot" + #"''${latest_system}/bin/switch-to-configuration" "boot" + #"/run/booted-system/bin/switch-to-configuration" "boot" + "/run/current-system/bin/switch-to-configuration" "boot" ${grub-reboot} "NixOS - All configurations>0" #${grub-reboot} "NixOS - Profile '$PROFILE_NAME'>0" elif ${bootctl} list 2>&1 | ${grep} -v "No boot loader entries found." > /dev/null