move filesystem imports to module level
This commit is contained in:
@@ -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;
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user