From f1d6c30127a24f321fca64b7e83d3798fa7beaed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 3 Nov 2024 17:56:22 +0200 Subject: [PATCH] more printing --- hosts/vno3-rp3b/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/vno3-rp3b/configuration.nix b/hosts/vno3-rp3b/configuration.nix index 3cb89d4..21134c1 100644 --- a/hosts/vno3-rp3b/configuration.nix +++ b/hosts/vno3-rp3b/configuration.nix @@ -122,9 +122,22 @@ }; }; + services.avahi = { + enable = true; + nssmdns = true; + openFirewall = true; + publish = { + enable = true; + userServices = true; + }; + }; + services.printing = { enable = true; openFirewall = true; + allowFrom = [ "all" ]; + browsing = true; + defaultShared = true; drivers = [ (pkgs.writeTextDir "share/cups/model/HP_Color_Laser_15x_Series.ppd" ( builtins.readFile ../../shared/CNCUPSMF3010ZK.ppd