revert: re-enable mdns registration for smb

This commit is contained in:
Ahwx 2026-05-11 02:35:49 +02:00
parent 52862ff096
commit 08a8985f5d

View file

@ -6,7 +6,6 @@
}: }:
{ {
services = { services = {
# Network shares
samba = { samba = {
package = pkgs.samba; package = pkgs.samba;
# ^^ `samba4Full` is compiled with avahi, ldap, AD etc support (compared to the default package, `samba`. samba4Full gives issue, however) # ^^ `samba4Full` is compiled with avahi, ldap, AD etc support (compared to the default package, `samba`. samba4Full gives issue, however)
@ -34,7 +33,7 @@
publish.enable = true; publish.enable = true;
publish.userServices = true; publish.userServices = true;
# ^^ Needed to allow samba to automatically register mDNS records (without the need for an `extraServiceFile` # ^^ Needed to allow samba to automatically register mDNS records (without the need for an `extraServiceFile`
#nssmdns4 = true; nssmdns4 = true;
# ^^ Not one hundred percent sure if this is needed- if it aint broke, don't fix it # ^^ Not one hundred percent sure if this is needed- if it aint broke, don't fix it
enable = lib.mkForce true; enable = lib.mkForce true;
openFirewall = true; openFirewall = true;