nfsroot: add hacks

This commit is contained in:
Astro 2024-01-11 22:07:41 +01:00
parent 5a3413a791
commit 436ded79bb
1 changed files with 10 additions and 2 deletions

View File

@ -26,11 +26,19 @@ in {
}) nfsExports;
};
c3d2.deployment.server = "server10";
c3d2.deployment = {
server = "server10";
};
fileSystems = builtins.foldl' (fileSystems: export: fileSystems // {
"/${export}".options = [ "relatime" "discard" ];
}) {} nfsExports;
}) {} nfsExports
//
{
"/etc".device = "nodev";
"/home".device = "nodev";
"/var".device = "nodev";
};
networking = {
hostName = "nfsroot";