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, ... }:
let
cfg = config.profile.services.samba;
# user = config.profile.user;
user = config.profile.user;
inherit (lib) mkIf;
in
{
@ -15,6 +15,7 @@ in
server string = smbnix
netbios name = smbnix
security = user
guest account = ${user.name}
'';
shares = {
nas = {