homeserver: fix samba user setting
This commit is contained in:
parent
5d27259205
commit
6b0f2316fa
|
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue