Changed nfs to map to users group
This commit is contained in:
parent
918d5ea085
commit
a81ea65340
|
@ -94,7 +94,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = ''
|
exports = ''
|
||||||
${srvConfig.nfsRoot} ${srvConfig.nfsIpExport}(rw,fsid=root,no_subtree_check)
|
${srvConfig.nfsRoot} ${srvConfig.nfsIpExport}(rw,fsid=root,no_subtree_check)
|
||||||
${lib.concatMapStringsSep "\n" (n: "${srvConfig.nfsRoot}${n} ${srvConfig.nfsIpExport}(rw,sync,no_subtree_check,no_root_squash)") srvConfig.nfsExports}
|
${lib.concatMapStringsSep "\n" (n: "${srvConfig.nfsRoot}${n} ${srvConfig.nfsIpExport}(rw,sync,no_subtree_check,all_squash,anongid=100)") srvConfig.nfsExports}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# nfs port TODO make dependant on option enabled
|
# nfs port TODO make dependant on option enabled
|
||||||
|
@ -111,6 +111,7 @@ in
|
||||||
# overrideDevices = true; # overrides any devices added or deleted through the WebUI
|
# overrideDevices = true; # overrides any devices added or deleted through the WebUI
|
||||||
# overrideFolders = true; # overrides any folders added or deleted through the WebUI
|
# overrideFolders = true; # overrides any folders added or deleted through the WebUI
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
|
group = "kage";
|
||||||
# settings = {
|
# settings = {
|
||||||
# devices = {
|
# devices = {
|
||||||
# # "supernote" = { id = "DEVICE-ID-GOES-HERE"; };
|
# # "supernote" = { id = "DEVICE-ID-GOES-HERE"; };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user