diff options
author | Alan Pearce | 2023-04-19 15:53:15 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-19 15:57:43 +0200 |
commit | 05b74c90789261dad95f5fc860972d94920d4e6e (patch) | |
tree | 2dd6b6821ba3824e2bbe625415e89a24105fcfad /system/settings | |
parent | 35d2774d1a867c97419740e7297ae00974108ff4 (diff) | |
download | nixfiles-05b74c90789261dad95f5fc860972d94920d4e6e.tar.lz nixfiles-05b74c90789261dad95f5fc860972d94920d4e6e.tar.zst nixfiles-05b74c90789261dad95f5fc860972d94920d4e6e.zip |
samba: broadcast a lowercase hostname over mdns
Diffstat (limited to 'system/settings')
-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 |