From a8f6af8fc9668339207e4aea58d883e2d5e179fd Mon Sep 17 00:00:00 2001 From: kenji Date: Sat, 13 Dec 2025 09:42:34 -0600 Subject: [PATCH] fix print not detecting printers --- hosts/hakase-omarchy/configuration.nix | 4 ++-- hosts/hakase/configuration.nix | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/hakase-omarchy/configuration.nix b/hosts/hakase-omarchy/configuration.nix index 311bda2..8baf5e7 100644 --- a/hosts/hakase-omarchy/configuration.nix +++ b/hosts/hakase-omarchy/configuration.nix @@ -56,8 +56,8 @@ networkmanager.enable = true; firewall = { enable = true; - allowedTCPPorts = [22 80]; - allowedUDPPorts = [53]; + allowedTCPPorts = [22 80 531]; + allowedUDPPorts = [53 531 5353]; }; proxy = { default = null; diff --git a/hosts/hakase/configuration.nix b/hosts/hakase/configuration.nix index 2c40137..6092f90 100644 --- a/hosts/hakase/configuration.nix +++ b/hosts/hakase/configuration.nix @@ -165,5 +165,10 @@ }; pulse.enable = true; }; + avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; }; }