fix some conf
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user