fix some conf

This commit is contained in:
mjallen18
2024-03-07 09:54:11 -06:00
parent 71f8ab78ae
commit cd2a7c7f94
4 changed files with 53 additions and 38 deletions

View File

@@ -44,8 +44,7 @@ in {
nameValuePair "${name}" {
path = share.sharePath;
public = if share.enableTimeMachine then false else share.public;
private =
if !share.public || share.enableTimeMachine then "yes" else "no";
private = if !share.public || share.enableTimeMachine then "yes" else "no";
browseable = if share.browseable then "yes" else "no";
writable = "yes";
"read only" = if share.readOnly then "yes" else "no";
@@ -57,6 +56,7 @@ in {
if share.enableTimeMachine then "yes" else "no";
"vfs objects" = "catia fruit streams_xattr";
"fruit:time machine max size" = share.timeMachineMaxSize;
"force user" = "admin";
};
in mapAttrs' make cfg.shares;
};