From c53c36099e91901f9c2f5b51ff5ef479d939bc5e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 10:57:44 -0800 Subject: hosts: enable avahi on desktop This is going to be needed to print (for example). --- hosts/common/desktop/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/common/desktop/default.nix b/hosts/common/desktop/default.nix index f150066..b5effa9 100644 --- a/hosts/common/desktop/default.nix +++ b/hosts/common/desktop/default.nix @@ -5,4 +5,9 @@ ./sound.nix ./xserver.nix ]; + + services.avahi.enable = true; + # Important to resolve .local domains of printers, otherwise you get an error + # like "Impossible to connect to XXX.local: Name or service not known" + services.avahi.nssmdns = true; } -- cgit 1.4.1