From ca1ea8f701d12cce94c34a28b79a64165d0062c6 Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Tue, 4 Jun 2024 19:30:16 +0530 Subject: [PATCH] hosts/okina: add avahi daemon for printer discovery (for now) Signed-off-by: Amneesh Singh --- hosts/okina/services.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/okina/services.nix b/hosts/okina/services.nix index a63b84b..03ac6b9 100644 --- a/hosts/okina/services.nix +++ b/hosts/okina/services.nix @@ -13,6 +13,11 @@ enable = true; drivers = [ pkgs.hplip ]; }; + avahi = lib.mkIf config.services.printing.enable { + enable = true; + nssmdns = true; + openFirewall = true; + }; }; systemd.services = {