From f53cbba16fb02334d1842185884ec5a6fde0f91b Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 11 Dec 2024 20:15:15 +0100 Subject: [PATCH] Enable avahi --- common/base.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/base.nix b/common/base.nix index 5eb3b4e..9207bf3 100644 --- a/common/base.nix +++ b/common/base.nix @@ -51,6 +51,18 @@ ''; }; + services.avahi = { + nssmdns4 = true; + enable = true; + ipv4 = true; + ipv6 = true; + publish = { + enable = true; + addresses = true; + workstation = true; + }; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];