chore(modules/nixos): adjsut boot.loader.timeout

This commit is contained in:
Ryan Yin
2024-08-26 20:56:45 +08:00
parent 00b6f97ddd
commit a02097f7d7
6 changed files with 10 additions and 6 deletions

View File

@@ -6,6 +6,8 @@
consoleMode = lib.mkDefault "max";
};
boot.loader.timeout = lib.mkDefault 8; # wait for x seconds to select the boot entry
# for power management
services = {
power-profiles-daemon = {

View File

@@ -1,3 +1,9 @@
{mylib, ...}: {
{
mylib,
lib,
...
}: {
imports = mylib.scanPaths ./.;
boot.loader.timeout = lib.mkForce 10; # wait for x seconds to select the boot entry
}

View File

@@ -32,7 +32,7 @@
boot.kernelParams = ["console=ttyS0"];
boot.loader.grub.device = "/dev/vda";
services.qemuGuest.enable = true;
services.qemuGuest.enable = true; # qemu-guest-agent
services.openssh.enable = true;
# we configure the host via nixos itself, so we don't need the cloud-init
services.cloud-init.enable = lib.mkForce false;

View File

@@ -16,7 +16,6 @@
../../base.nix
];
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
# Fix: jasper is marked as broken, refusing to evaluate.
environment.enableAllTerminfo = lib.mkForce false;
}

View File

@@ -14,6 +14,4 @@
../../base.nix
];
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
}

View File

@@ -3,5 +3,4 @@
../base
../../base.nix
];
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
}