From 473a870a64ba6d979ee4f46576c6476cb0d898a7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Oct 2013 13:31:01 +0100 Subject: [PATCH] nixos-rebuild build-vm: Ignore the user's LUKS devices --- nixos/modules/virtualisation/qemu-vm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 23b488f9278..2218e1045eb 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -372,6 +372,7 @@ in }; swapDevices = mkVMOverride [ ]; + boot.initrd.luks.devices = mkVMOverride []; # Don't run ntpd in the guest. It should get the correct time from KVM. services.ntp.enable = false;