nixos/tests/zfs: Fix samba freeform settings

This commit is contained in:
Will Fancher
2024-09-06 16:07:51 -04:00
parent 1abdf6b08f
commit 1da41e937e
+7 -7
View File
@@ -45,13 +45,13 @@ let
specialisation.samba.configuration = {
services.samba = {
enable = true;
extraConfig = ''
registry shares = yes
usershare path = ${usersharePath}
usershare allow guests = yes
usershare max shares = 100
usershare owner only = no
'';
settings.global = {
"registry shares" = true;
"usershare path" = "${usersharePath}";
"usershare allow guests" = true;
"usershare max shares" = "100";
"usershare owner only" = false;
};
};
systemd.services.samba-smbd.serviceConfig.ExecStartPre =
"${pkgs.coreutils}/bin/mkdir -m +t -p ${usersharePath}";