Draft: Mount the nix store from hut in compute nodes #66

Closed
rarias wants to merge 11 commits from shared-nix-store into master
Showing only changes of commit 8c11c7460a - Show all commits

View File

@ -26,6 +26,10 @@
device = "overlay"; device = "overlay";
fsType = "overlay"; fsType = "overlay";
options = [ options = [
# We need the local-fs.target to be ready, so the network interfaces can
# be configured to the network.target is reached. So make this a netdev
# mount.
"_netdev"
"lowerdir=/mnt/hut-nix-store,upperdir=/nix/store,workdir=/mnt/nix-work" "lowerdir=/mnt/hut-nix-store,upperdir=/nix/store,workdir=/mnt/nix-work"
"x-systemd.requires-mounts-for=/nix/store" "x-systemd.requires-mounts-for=/nix/store"
# We need to wait for the NFS mount # We need to wait for the NFS mount