feat: upgrade ekman to new cluster structure

This commit is contained in:
Jonas Juselius
2025-09-23 13:40:16 +02:00
parent 46473c88dd
commit 96f8215c52
11 changed files with 44 additions and 89 deletions

View File

@@ -12,25 +12,6 @@ let
compute = {
deployment.tags = [ "compute" "c0" ];
fileSystems = {
"/frontend" = {
device = "10.255.241.100:/home";
fsType = "nfs4";
options = [
"soft"
"defaults"
"noauto"
"x-systemd.automount"
];
};
};
systemd.automounts = [
{
where = "/frontend";
wantedBy = [ "default.target" ];
}
];
};
mkCompute = host:
@@ -44,7 +25,7 @@ let
mounts = {
rdma.enable = true;
automount.enable = true;
home = false;
users = true;
opt = true;
work = true;
data = false;
@@ -97,7 +78,7 @@ let
};
imports = [
hw
../cluster.nix
../default.nix
../mounts.nix
#./kernel.nix
];