mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02: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.growPartition = true;
|
||||||
boot.kernelParams = [ "console=ttyS0" ];
|
boot.kernelParams = ["console=ttyS0"];
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.grub.device = "/dev/vda";
|
||||||
boot.loader.timeout = 0;
|
|
||||||
|
|
||||||
services.qemuGuest.enable = true;
|
services.qemuGuest.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{lib, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../base
|
../base
|
||||||
../../base.nix
|
../../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