From a02bb00156086b45e68c1112008db506734f8649 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 19 Dec 2016 14:16:03 +0100 Subject: [PATCH] Enable virtualisation.writableStore by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This works around: machine: must succeed: nix-store -qR /run/current-system | grep nixos- machine# error: changing ownership of path ‘/nix/store’: Invalid argument Probably Nix shouldn't be anal about the ownership of the store unless it's trying to build/write to the store. http://hydra.nixos.org/build/45093872/nixlog/17/raw (cherry picked from commit 57a0f140643cde409022e297ed05e05f8d34d778) --- nixos/modules/virtualisation/qemu-vm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index bd964723d40..6423432c78b 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -274,7 +274,7 @@ in virtualisation.writableStore = mkOption { - default = false; + default = true; # FIXME description = '' If enabled, the Nix store in the VM is made writable by