mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
* 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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue