fix: The option `services.cloud-init.enable' has conflicting definition values

This commit is contained in:
Ryan Yin
2024-04-01 00:46:36 +08:00
parent 2047104704
commit 33f690388d
@@ -1,4 +1,8 @@
{modulesPath, ...}: {
modulesPath,
lib,
...
}:
############################################################################## ##############################################################################
# #
# Template for KubeVirt's VM, mainly based on: # Template for KubeVirt's VM, mainly based on:
@@ -28,7 +32,7 @@
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
services.openssh.enable = true; services.openssh.enable = true;
# we configure the host via nixos itself, so we don't need the cloud-init # we configure the host via nixos itself, so we don't need the cloud-init
services.cloud-init.enable = false; services.cloud-init.enable = lib.mkForce false;
systemd.services."serial-getty@ttyS0".enable = true; systemd.services."serial-getty@ttyS0".enable = true;
}; };
} }