modules.system.fileSystems.nfs: fix

This commit is contained in:
2025-04-30 16:00:39 +08:00
parent abd1aa43b0
commit 0be60638fb

View File

@@ -30,6 +30,8 @@ inputs:
[ "actimeo=1" ]
# when try to mount at startup, wait 15 minutes before giving up
(inputs.lib.optionals (device.value.hard or true) [ "retry=15" "x-systemd.device-timeout=15min" ])
# do not fail, just try continuously in background
(inputs.lib.optionals (!(device.value.hard or true)) [ "bg" ])
];
};
})