From cdafe18cd6a8b3777e9bbbfbc6422a8e20544d86 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 18 Jun 2018 13:24:45 -0700 Subject: [PATCH] [NixOS] Enable avahi nssmdns, as well as publishing of domain and userServices --- nixos/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 082fbd8b..f2006665 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -199,7 +199,15 @@ in programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; services.openssh.enable = true; - services.avahi.enable = true; + services.avahi = { + enable = true; + nssmdns = true; + publish = { + enable = true; + domain = true; + userServices = true; + }; + }; sound.enable = true; hardware.pulseaudio.enable = true;