about summary refs log tree commit diff
path: root/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 10:57:44 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 10:57:44 -0800
commitc53c36099e91901f9c2f5b51ff5ef479d939bc5e (patch)
tree79e0ce685a7e8a8f6cdbb12b87852481a603169d /hosts/common
parenthome-manager: add redshift (diff)
downloadworld-c53c36099e91901f9c2f5b51ff5ef479d939bc5e.tar.gz
hosts: enable avahi on desktop
This is going to be needed to print (for example).
Diffstat (limited to 'hosts/common')
-rw-r--r--hosts/common/desktop/default.nix5
1 files changed, 5 insertions, 0 deletions
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;
 }