about summary refs log tree commit diff
path: root/hosts/carmel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/carmel/default.nix')
-rw-r--r--hosts/carmel/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix
index 1006f1e..8c68e20 100644
--- a/hosts/carmel/default.nix
+++ b/hosts/carmel/default.nix
@@ -11,6 +11,16 @@
     "${self}/profiles/nginx.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"
+    nssmdns = true;
+    reflector = true;
+    interfaces = [ "mgmt0" "iot" ];
+    openFirewall = true;
+  };
+
   # This value determines the NixOS release from which the default
   # settings for stateful data, like file locations and database versions
   # on your system were taken. It‘s perfectly fine and recommended to leave