Changed nfs to map to users group
This commit is contained in:
parent
918d5ea085
commit
a81ea65340
|
@ -94,7 +94,7 @@ in
|
|||
enable = true;
|
||||
exports = ''
|
||||
${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
|
||||
|
@ -111,6 +111,7 @@ in
|
|||
# overrideDevices = true; # overrides any devices added or deleted through the WebUI
|
||||
# overrideFolders = true; # overrides any folders added or deleted through the WebUI
|
||||
openDefaultPorts = true;
|
||||
group = "kage";
|
||||
# settings = {
|
||||
# devices = {
|
||||
# # "supernote" = { id = "DEVICE-ID-GOES-HERE"; };
|
||||
|
|
Loading…
Reference in New Issue
Block a user