Rodrigo Arias Mallo
140178d58e
We need to disable the read-only bind mount, so we can directly bind mount the overlay.
19 lines
432 B
Nix
19 lines
432 B
Nix
{ ... }:
|
|
{
|
|
# Don't make the nix store read-only, as this would prevent the overlay FS
|
|
# from being able to mount it.
|
|
boot.readOnlyNixStore = false;
|
|
|
|
# Mount the hut nix store via NFS
|
|
fileSystems."/mnt/hut-nix-store" = {
|
|
device = "hut:/nix/store";
|
|
fsType = "nfs";
|
|
options = [ "ro" ];
|
|
};
|
|
|
|
# Create the work directory
|
|
#systemd.tmpfiles.rules = [
|
|
# "d /mnt/nix-overlay/work 0550 1000 root root -"
|
|
#];
|
|
}
|