devices.srv1.node1: enable nfs

This commit is contained in:
陈浩南 2024-09-16 14:13:47 +08:00
parent 375dd507fc
commit c972d44c42

View File

@ -47,5 +47,14 @@ inputs:
system.nixos.tags = [ "no-share-home" ];
};
};
fileSystems = inputs.lib.mkIf (inputs.config.nixos.system.cluster.nodeType == "worker")
{
"/home" =
{
device = "192.168.178.1:/home";
fsType = "nfs";
neededForBoot = true;
};
};
};
}