set machine id manually instead of impermenance
This commit is contained in:
@@ -38,13 +38,13 @@ in {
|
||||
hosts deny = 0.0.0.0/0
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
force user = nix-apps
|
||||
'';
|
||||
shares = let
|
||||
make = name: share:
|
||||
nameValuePair "${name}" {
|
||||
path = share.sharePath;
|
||||
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";
|
||||
"read only" = if share.readOnly then "yes" else "no";
|
||||
@@ -59,4 +59,5 @@ in {
|
||||
in mapAttrs' make cfg.shares;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
# private = if !share.public || share.enableTimeMachine then "yes" else "no";
|
||||
Reference in New Issue
Block a user