From 9925102b5f9b495dcd3c2dcfff89c542f3cc2bb3 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 13 Jun 2024 16:40:43 +0700 Subject: [PATCH] samba: fix mounting permission --- system/services/samba.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/services/samba.nix b/system/services/samba.nix index aeec4d5..a481d41 100644 --- a/system/services/samba.nix +++ b/system/services/samba.nix @@ -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 = {