samba: fix mounting permission

This commit is contained in:
Tigor Hutasuhut 2024-06-13 16:40:43 +07:00
parent 6b0f2316fa
commit 9925102b5f

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
{ {
@ -15,6 +15,7 @@ in
server string = smbnix server string = smbnix
netbios name = smbnix netbios name = smbnix
security = user security = user
guest account = ${user.name}
''; '';
shares = { shares = {
nas = { nas = {