homeserver: fix samba user setting

This commit is contained in:
Tigor Hutasuhut 2024-06-13 16:29:19 +07:00
parent 5d27259205
commit 6b0f2316fa

View file

@ -1,7 +1,7 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.profile.services.samba; cfg = config.profile.services.samba;
user = config.profile.user; # user = config.profile.user;
inherit (lib) mkIf; inherit (lib) mkIf;
in in
{ {
@ -24,8 +24,6 @@ in
"guest ok" = "yes"; "guest ok" = "yes";
"create mask" = "0777"; "create mask" = "0777";
"directory mask" = "0777"; "directory mask" = "0777";
"force user" = user.name;
"force group" = user.name;
}; };
}; };
}; };