{ config, lib, pkgs, vars, ... }: { fileSystems = { ${vars.nfsShares.dockerConfig.mountpoint} = { device = "${vars.nfsServerHost}:${vars.storageRoot}/${vars.nfsShares.dockerConfig.subpath}"; fsType = "nfs"; options = [ "nfsvers=4.2" "_netdev" "x-systemd.automount" "noatime" ]; }; ${vars.nfsShares.dockerDatabases.mountpoint} = { device = "${vars.nfsServerHost}:${vars.storageRoot}/${vars.nfsShares.dockerDatabases.subpath}"; fsType = "nfs"; options = [ "nfsvers=4.2" "_netdev" "x-systemd.automount" "noatime" ]; }; ${vars.nfsShares.dockerVolumes.mountpoint} = { device = "${vars.nfsServerHost}:${vars.storageRoot}/${vars.nfsShares.dockerVolumes.subpath}"; fsType = "nfs"; options = [ "nfsvers=4.2" "_netdev" "x-systemd.automount" "noatime" ]; }; ${vars.nfsShares.nextcloudData.mountpoint} = { device = "${vars.nfsServerHost}:${vars.storageRoot}/${vars.nfsShares.nextcloudData.subpath}"; fsType = "nfs"; options = [ "nfsvers=4.2" "_netdev" "x-systemd.automount" "noatime" ]; }; ${vars.nfsShares.raspiVolumes.mountpoint} = { device = "${vars.nfsServerHost}:${vars.storageRoot}/${vars.nfsShares.raspiVolumes.subpath}"; fsType = "nfs"; options = [ "nfsvers=4.2" "_netdev" "x-systemd.automount" "noatime" ]; }; }; }