Begin the nix store overlay

We need to disable the read-only bind mount, so we can directly bind
mount the overlay.
This commit is contained in:
Rodrigo Arias 2023-09-18 11:22:24 +02:00
parent d48f3b989a
commit 140178d58e
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ ... }:
{
# 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 -"
#];
}

View File

@ -5,6 +5,7 @@
../common/main.nix
../module/ceph.nix
../module/slurm-firewall.nix
../module/shared-nix-store.nix
];
# Select the this using the ID to avoid mismatches

View File

@ -5,6 +5,7 @@
../common/main.nix
../module/ceph.nix
../module/slurm-firewall.nix
../module/shared-nix-store.nix
];
# Select the this using the ID to avoid mismatches