nixos/systemd-boot: fix editor option

This commit is contained in:
Jörg Thalheim
2024-01-31 10:46:03 +07:00
parent 632751bf0c
commit 202e697233
2 changed files with 2 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ from dataclasses import dataclass
# These values will be replaced with actual values during the package build
EFI_SYS_MOUNT_POINT = "@efiSysMountPoint@"
TIMEOUT = "@timeout@"
EDITOR = bool("@editor@")
EDITOR = "@editor@" == "1"
CONSOLE_MODE = "@consoleMode@"
BOOTSPEC_TOOLS = "@bootspecTools@"
DISTRO_NAME = "@distroName@"