provision.fs.nfs.client.enable
Whether to enable enable NFS integrations.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.client.localBase
default base directory for all NFS mounts
Type: string
Default:
"/mnt/remote"
Declared by:
provision.fs.nfs.client.mounts
NFS mounts to enable
Type: attribute set of (NFS submodule)
Default:
{ }
Declared by:
provision.fs.nfs.client.mounts.<name>.enable
Whether to enable enable ‹name› nfs mount.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.client.mounts.<name>.after
set systemd after only
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.mounts.<name>.before
set systemd before only
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.mounts.<name>.device
final device string
Type: string
Default:
":/export/‹name›"
Declared by:
provision.fs.nfs.client.mounts.<name>.extraOptions
extra options to add
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.mounts.<name>.hostPath
local host mount path
Type: string
Default:
"/mnt/remote/‹name›"
Declared by:
provision.fs.nfs.client.mounts.<name>.networkOnlineService
unit to automatically add an after+requires, set to null to disable
Type: null or string
Default:
"systemd-networkd-wait-online.service"
Declared by:
provision.fs.nfs.client.mounts.<name>.nfsVersion
nfs version to use
Type: string
Default:
"4.2"
Declared by:
provision.fs.nfs.client.mounts.<name>.options
final options to add to mountpoint
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.mounts.<name>.remotePath
remote host mount path
Type: string
Default:
"/export/‹name›"
Declared by:
provision.fs.nfs.client.mounts.<name>.remoteUrl
NFS ip / domain
Type: string
Default:
""
Declared by:
provision.fs.nfs.client.mounts.<name>.requiredBy
set systemd required by + after
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.mounts.<name>.requires
set systemd requires + after
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.client.nfsVersion
default NFS version to mount with
Type: string
Default:
"4.2"
Declared by:
provision.fs.nfs.client.remoteBase
default remote server base directory for all NFS mounts
Type: string
Default:
"/export"
Declared by:
provision.fs.nfs.client.remoteUrl
default remote server url / domain
Type: string
Default:
""
Declared by:
provision.fs.nfs.server.enable
Whether to enable enable nfs exports wrapper.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.addToFilesystem
Whether to enable adds path to fileSystems.<path>
.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.server.default.export.options
default export options to use for subnet permissions
Type: submodule
Default:
{ }
Example:
{
rw = true;
}
Declared by:
provision.fs.nfs.server.default.export.options.anongid
whether to set anongid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.default.export.options.anonuid
whether to set anonuid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.default.export.options.async
Whether to enable enable async option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.export.options.fsid
whether to set fsid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.default.export.options.insecure
Whether to enable enable insecure option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.export.options.nohide
Whether to enable enable nohide option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.export.options.rw
Whether to enable enable rw option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.export.options.subtree_check
Whether to enable enable subtree_check option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.default.mount.options
mount options for export bindmount
Type: list of string
Default:
[
"bind"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
]
Declared by:
provision.fs.nfs.server.exportDir
export directory
Type: string
Default:
"/export"
Declared by:
provision.fs.nfs.server.exports
Export paths to enable
Type: attribute set of (submodule)
Default:
{ }
Declared by:
provision.fs.nfs.server.exports.<name>.enable
Whether to enable enable exporting path.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.addToFilesystem
Whether to enable adds path to fileSystems.<path>
.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.export.options
default export options to use for subnets permissions
Type: submodule
Default:
{ }
Example:
{
rw = true;
}
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.anongid
whether to set anongid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.anonuid
whether to set anonuid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.async
Whether to enable enable async option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.fsid
whether to set fsid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.insecure
Whether to enable enable insecure option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.nohide
Whether to enable enable nohide option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.rw
Whether to enable enable rw option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.export.options.subtree_check
Whether to enable enable subtree_check option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.exportPath
export path of export
Type: absolute path
Default:
"/export/‹name›"
Example:
"/export/media"
Declared by:
provision.fs.nfs.server.exports.<name>.hostPath
host path of export, sets device
of bind mount
Type: absolute path
Default:
"/‹name›"
Example:
"/media"
Declared by:
provision.fs.nfs.server.exports.<name>.mount.options
mount options for export bindmount
Type: list of string
Default:
[
"bind"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
]
Declared by:
provision.fs.nfs.server.exports.<name>.mountOptions
mount options to add to export bindmount
Type: list of string
Default:
[ ]
Example:
[
"bind"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
]
Declared by:
provision.fs.nfs.server.exports.<name>.subnets
subnet permissions for mount
Type: attribute set of (submodule)
Default:
{ }
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.enable
Whether to enable enable subnet permissions.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options
export options to use for subnets permissions, sets {permissions}
Type: submodule
Default:
{ }
Example:
{
rw = true;
}
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.anongid
whether to set anongid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.anonuid
whether to set anonuid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.async
Whether to enable enable async option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.fsid
whether to set fsid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.insecure
Whether to enable enable insecure option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.nohide
Whether to enable enable nohide option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.rw
Whether to enable enable rw option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.export.options.subtree_check
Whether to enable enable subtree_check option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.name
subnet name
Type: string
Default:
"‹name›"
Example:
"10.0.0.0/8"
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.permissions
permissions to add to subnet
Type: list of string
Default:
[ ]
Example:
[
"rw"
"insecure"
"subtree_check"
"nohide"
"async"
]
Declared by:
provision.fs.nfs.server.exports.<name>.subnets.<name>.subnet
subnet to apply permission to
Type: string
Default:
"‹name›"
Example:
"10.0.0.0/8"
Declared by:
provision.fs.nfs.server.firewall.enable
Whether to enable enable firewall rules for nfs.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.firewall.interfaces
allowed interfaces added to networking.firewall.interfaces.<interface>
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.server.subnets
a short form configuration which generates entries in {provision.fs.nfs.server.exports}
Type: attribute set of (submodule)
Default:
{ }
Declared by:
provision.fs.nfs.server.subnets.<name>.enable
Whether to enable enable subnet permissions.
Type: boolean
Default:
true
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options
export options to use for subnets permissions, sets {permissions}
Type: submodule
Default:
{ }
Example:
{
rw = true;
}
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.anongid
whether to set anongid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.anonuid
whether to set anonuid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.async
Whether to enable enable async option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.fsid
whether to set fsid, not set when null (default)
Type: null or signed integer
Default:
null
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.insecure
Whether to enable enable insecure option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.nohide
Whether to enable enable nohide option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.rw
Whether to enable enable rw option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.export.options.subtree_check
Whether to enable enable subtree_check option.
Type: boolean
Default:
false
Example:
true
Declared by:
provision.fs.nfs.server.subnets.<name>.name
subnet name
Type: string
Default:
"‹name›"
Example:
"10.0.0.0/8"
Declared by:
provision.fs.nfs.server.subnets.<name>.paths
list of paths to apply these permissions to
Type: list of string
Default:
[ ]
Declared by:
provision.fs.nfs.server.subnets.<name>.permissions
permissions to add to subnet
Type: list of string
Default:
[ ]
Example:
[
"rw"
"insecure"
"subtree_check"
"nohide"
"async"
]
Declared by:
provision.fs.nfs.server.subnets.<name>.subnet
subnet to apply permission to
Type: string
Default:
"‹name›"
Example:
"10.0.0.0/8"
Declared by: