diff options
-rw-r--r-- | system/settings/services/samba.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/settings/services/samba.nix b/system/settings/services/samba.nix index ae6c6f5a..7ac67f94 100644 --- a/system/settings/services/samba.nix +++ b/system/settings/services/samba.nix @@ -15,12 +15,13 @@ in services.samba = { enable = true; + enableNmbd = false; + package = pkgs.samba.override { enableMDNS = true; }; openFirewall = true; securityType = "user"; extraConfig = '' workgroup = ${workgroup} - server string = ${config.networking.hostName} - netbios name = ${config.networking.hostName} + mdns name = mdns security = user #use sendfile = yes #max protocol = smb2 |