refactor: abstract NFS mount creation via custom options

This commit is contained in:
Tibo De Peuter 2026-07-17 23:24:17 +02:00
parent d4d655e735
commit 1403b1f9c0
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
9 changed files with 93 additions and 120 deletions

View file

@ -34,15 +34,10 @@ in {
shell = null;
};
fileSystems."${homepage-config}" = {
homelab.nfsMounts."${homepage-config}" = {
device = "192.168.0.11:/mnt/SMALL/CONFIG/HOMEPAGE";
fsType = "nfs";
options = [
"rw"
extraOptions = [
"auto"
"nfsvers=4.2"
"async" "soft" "timeo=100" "retry=50" "actimeo=1800" "lookupcache=all"
"nosuid" "tcp"
];
};