diff --git a/m/module/shared-nix-store.nix b/m/module/shared-nix-store.nix index cde993b..0b17fea 100644 --- a/m/module/shared-nix-store.nix +++ b/m/module/shared-nix-store.nix @@ -26,6 +26,10 @@ device = "overlay"; fsType = "overlay"; 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" "x-systemd.requires-mounts-for=/nix/store" # We need to wait for the NFS mount