mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-23 01:49:56 +01:00
chore(modules/nixos): adjsut boot.loader.timeout
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,4 @@
|
||||
|
||||
../../base.nix
|
||||
];
|
||||
|
||||
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
|
||||
}
|
||||
|
||||
@@ -3,5 +3,4 @@
|
||||
../base
|
||||
../../base.nix
|
||||
];
|
||||
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user