aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-08 09:41:41 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-08 09:47:43 -0600
commit806f697f17214212197f09a8c6aaf6da307e496f (patch)
tree0eb83fd789936e02cec20f00f8b5657ea5a22e11 /modules
parent2e23a64c2bd36607368e8ae20c51a739f22083e8 (diff)
merge changes from main
Diffstat (limited to 'modules')
-rw-r--r--modules/boot/nixos/default.nix2
-rw-r--r--modules/boot/options.nix5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/boot/nixos/default.nix b/modules/boot/nixos/default.nix
index 8e710c8..026226b 100644
--- a/modules/boot/nixos/default.nix
+++ b/modules/boot/nixos/default.nix
@@ -24,7 +24,7 @@ in {
configurationLimit = 3;
};
efi.canTouchEfiVariables = true;
- timeout = 0; # hold space to show boot menu
+ timeout = cfg.timeout; # hold space to show boot menu
};
}
// (lib.optionalAttrs cfg.secureBoot.enable {
diff --git a/modules/boot/options.nix b/modules/boot/options.nix
index dc6d3b3..2f670f9 100644
--- a/modules/boot/options.nix
+++ b/modules/boot/options.nix
@@ -8,6 +8,11 @@ in {
options = {
collinux.boot = {
systemd-boot.enable = mkEnableOption "systemd-boot";
+ timeout = mkOption {
+ description = "bootloader timeout";
+ type = lib.types.int;
+ default = 0;
+ };
plymouth = {
enable = mkEnableOption "plymouth bootsplash";
theme = mkOption {