mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
fix: The option `services.cloud-init.enable' has conflicting definition values
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user