diff --git a/modules/nixos/services/homeprinter/default.nix b/modules/nixos/services/homeprinter/default.nix index 09fbaa5..c5ab726 100644 --- a/modules/nixos/services/homeprinter/default.nix +++ b/modules/nixos/services/homeprinter/default.nix @@ -16,6 +16,16 @@ in gutenprint ]; + services.avahi = { + enable = true; + nssmdns4 = true; + nssmdns6 = true; + ipv6 = true; + ipv4 = true; + }; + + networking.firewall.allowedUDPPorts = [ 5353 ]; + hardware.printers.ensurePrinters = [ { name = "Brother_DCP-L2530DW_series";