3
0
Fork 0
forked from mirrors/nixpkgs

* Mount the host's /nix/var/nix/db in the guest.

svn path=/nixos/trunk/; revision=16674
This commit is contained in:
Eelco Dolstra 2009-08-11 14:28:25 +00:00
parent e8103aa39d
commit fe329f96ef

View file

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