diff --git a/modules/nixos/server/kubevirt-hardware-configuration.nix b/modules/nixos/server/kubevirt-hardware-configuration.nix index 76565629..ab87361d 100644 --- a/modules/nixos/server/kubevirt-hardware-configuration.nix +++ b/modules/nixos/server/kubevirt-hardware-configuration.nix @@ -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; diff --git a/modules/nixos/server/server.nix b/modules/nixos/server/server.nix index a1d88467..de551297 100644 --- a/modules/nixos/server/server.nix +++ b/modules/nixos/server/server.nix @@ -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 }