* Mount the host's /nix/var/nix/db in the guest.
svn path=/nixos/trunk/; revision=16674
This commit is contained in:
parent
e8103aa39d
commit
fe329f96ef
@ -105,6 +105,12 @@ in
|
||||
options = "bind";
|
||||
neededForBoot = true;
|
||||
}
|
||||
# Mount the host's Nix database. This allows read-only Nix
|
||||
# operations in the guest to work properly.
|
||||
{ mountPoint = "/nix/var/nix/db";
|
||||
device = "/hostfs/nix/var/nix/db";
|
||||
options = "bind";
|
||||
}
|
||||
];
|
||||
|
||||
# Starting DHCP brings down eth0, which kills the connection to the
|
||||
|
Loading…
Reference in New Issue
Block a user