feat: move /home and /opt to cephfs and tweak mounts

This commit is contained in:
2025-09-23 12:11:53 +02:00
parent 8894339216
commit 82a5328d7f
5 changed files with 70 additions and 75 deletions

View File

@@ -11,26 +11,6 @@ let
compute = {
deployment.tags = [ "compute" "c0" "cluster" ];
fileSystems = {
"/users" = {
device = "172.16.239.222:/home";
fsType = "nfs4";
options = [
"soft"
"defaults"
"noauto"
"x-systemd.automount"
];
};
};
systemd.automounts = [
{
where = "/users";
wantedBy = [ "default.target" ];
}
];
};
mkCompute = host:
@@ -46,9 +26,9 @@ let
automount.enable = true;
users = true;
opt = true;
work = false;
data = false;
ceph = false;
work = true;
data = true;
ceph = true;
};
};