diff --git a/modules/virtualisation/qemu-vm.nix b/modules/virtualisation/qemu-vm.nix index 64910ed45c91..6c14fb3ade4e 100644 --- a/modules/virtualisation/qemu-vm.nix +++ b/modules/virtualisation/qemu-vm.nix @@ -195,6 +195,9 @@ in ipAddress = "10.0.2.15"; }; + # Don't run ntpd in the guest. It should get the correct time from KVM. + services.ntp.enable = false; + system.build.vm = pkgs.runCommand "nixos-vm" {} '' ensureDir $out/bin