From 85c41f98fe7b2aceb5ed4611da161a88d1d64e67 Mon Sep 17 00:00:00 2001 From: chn Date: Wed, 25 Sep 2024 18:29:17 +0800 Subject: [PATCH] fix build --- modules/services/samba.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/services/samba.nix b/modules/services/samba.nix index e6ee457f..01cc66e8 100644 --- a/modules/services/samba.nix +++ b/modules/services/samba.nix @@ -34,14 +34,14 @@ inputs: # TCP 139 445 UDP 137 138 openFirewall = !samba.private; securityType = "user"; - extraConfig = - '' - workgroup = WORKGROUP - server string = Samba Server - server role = standalone server - hosts allow = ${samba.hostsAllowed} - dns proxy = no - ''; + settings = + { + workgroup = "WORKGROUP"; + "server string" = "Samba Server"; + "server role" = "standalone server"; + "hosts allow" = "${samba.hostsAllowed}"; + "dns proxy" = "no"; + }; # obey pam restrictions = yes # encrypt passwords = no shares = listToAttrs (map