homeserver: fix samba user setting
This commit is contained in:
parent
5d27259205
commit
6b0f2316fa
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.profile.services.samba;
|
||||
user = config.profile.user;
|
||||
# user = config.profile.user;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
|
@ -24,8 +24,6 @@ in
|
|||
"guest ok" = "yes";
|
||||
"create mask" = "0777";
|
||||
"directory mask" = "0777";
|
||||
"force user" = user.name;
|
||||
"force group" = user.name;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue