This commit is contained in:
mjallen18
2024-03-07 13:13:57 -06:00
parent 1118588099
commit 5c95d77d97

View File

@@ -43,7 +43,7 @@ in {
make = name: share:
nameValuePair "${name}" {
path = share.sharePath;
public = if share.enableTimeMachine then false else share.public;
public = if share.enableTimeMachine then "no" else "yes";
private = if !share.public || share.enableTimeMachine then "yes" else "no";
browseable = if share.browseable then "yes" else "no";
writable = "yes";
@@ -52,11 +52,9 @@ in {
"create mask" = share.createMask;
"directory mask" = share.directoryMask;
"fruit:aapl" = if share.enableTimeMachine then "yes" else "no";
"fruit:time machine" =
if share.enableTimeMachine then "yes" else "no";
"fruit:time machine" = 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;
};