move filesystem imports to module level

This commit is contained in:
Steffen Illium
2025-07-16 23:20:28 +02:00
parent 57ba310000
commit 21e54d968e
4 changed files with 62 additions and 12 deletions
+4
View File
@@ -1,4 +1,7 @@
{ config, pkgs, ... }: {
# Add ZFS and NFS support to the initramfs so it can be mounted at boot.
boot.supportedFilesystems = [ "nfs" ];
systemd.mounts = [{
type = "nfs";
@@ -15,5 +18,6 @@
TimeoutIdleSec = "600";
};
where = config.vars.nfs_mount;
}];
}