nixos: gummiboot: change default to 1000 if boot.loader.timeout is null

When gummiboot.timeout == null, the menu will still be skipped.
When gummiboot.timeout == 0, the menu will also be skipped.
The only way to show the menu 'indefinitely' is to show it a long time.

Changed files
+1 -3
nixos
modules
system
boot
loader
gummiboot
+1 -3
nixos/modules/system/boot/loader/gummiboot/gummiboot.nix
···
};
timeout = mkOption {
-
default = if (config.boot.loader.timeout != null) then
-
(if (config.boot.loader.timeout == 0) then null else config.boot.loader.timeout)
-
else config.boot.loader.timeout;
+
default = if config.boot.loader.timeout == null then 10000 else config.boot.loader.timeout;
example = 4;