@@ -40,7 +40,7 @@ let
4040 DEFAULT boot
4141
4242 LABEL boot
43− MENU LABEL NixOS ${config.system.nixosVersion} Installer
43+ MENU LABEL NixOS ${config.system.nixosVersion}${config.isoImage.appendToMenuLabel}
4444 LINUX /boot/bzImage
4545 APPEND init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
4646 INITRD /boot/initrd
@@ -192,6 +192,18 @@ in
192192 '';
193193 };
194194
195+ isoImage.appendToMenuLabel = mkOption {
196+ default = " Installer";
197+ example = " Live System";
198+ description = ''
199+ The string to append after the menu label for the NixOS system.
200+ This will be directly appended (without whitespace) to the NixOS version
201+ string, like for example if it is set to <literal>XXX</literal>:
202+
203+ <para><literal>NixOS 99.99-pre666XXX</literal></para>
204+ '';
205+ };
206+
195207 };
196208
197209 config = {