Enable virtualisation.writableStore by default

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)
This commit is contained in:
Eelco Dolstra 2016-12-19 14:16:03 +01:00
parent f173da375d
commit a02bb00156
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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