From 5ef3c78d4b343b99ae8f2234dfd60f8df45fa342 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Wed, 10 Apr 2024 17:00:40 +0200 Subject: [PATCH] yolo --- services/smb.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/smb.nix b/services/smb.nix index 0e932e6..7ef20cf 100644 --- a/services/smb.nix +++ b/services/smb.nix @@ -7,17 +7,19 @@ services.samba = { securityType = "user"; openFirewall = true; extraConfig = '' - #workgroup = WORKGROUP + workgroup = WORKGROUP server string = galadriel netbios name = galadriel security = user #use sendfile = yes #max protocol = smb2 + min protocol = SMB2 # note: localhost is the ipv6 localhost ::1 hosts allow = 192.168.1. 127.0.0.1 localhost 100. hosts deny = 0.0.0.0/0 guest account = nobody map to guest = bad user + smb encrypt = required ''; shares = { # public = {