mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-22 09:29:48 +01:00
fix:(modules/nixos/server): The option `boot.loader.timeout' has conflicting definition values
This commit is contained in:
@@ -22,9 +22,8 @@
|
||||
};
|
||||
|
||||
boot.growPartition = true;
|
||||
boot.kernelParams = [ "console=ttyS0" ];
|
||||
boot.kernelParams = ["console=ttyS0"];
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
boot.loader.timeout = 0;
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
services.openssh.enable = true;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
{lib, ...}: {
|
||||
imports = [
|
||||
../base
|
||||
../../base.nix
|
||||
];
|
||||
boot.loader.timeout = 3; # wait for 3 seconds to select the boot entry
|
||||
boot.loader.timeout = lib.mkDefault 3; # wait for 3 seconds to select the boot entry
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user