This commit is contained in:
Steffen
2025-04-11 07:44:12 +02:00
commit b2186d35a0
13 changed files with 479 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{ config, pkgs, ... }: {
systemd.mounts = [{
type = "nfs";
mountConfig = {
Options = "noatime";
};
what = "${config.vars.nfs_server}:${config.vars.nfs_volume}";
where = config.vars.nfs_mount;
}];
systemd.automounts = [{
wantedBy = [ "multi-user.target" ];
automountConfig = {
TimeoutIdleSec = "600";
};
where = config.vars.nfs_mount;
}];
}