From cd76ffcd5a9c07f4be4fb66b1ea131fb07d2a054 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 6 Feb 2024 08:22:25 -0800 Subject: [PATCH] unfolder: enable printing and avahi --- machine/unfolder/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/machine/unfolder/default.nix b/machine/unfolder/default.nix index 2fd93dc..a8149c0 100644 --- a/machine/unfolder/default.nix +++ b/machine/unfolder/default.nix @@ -84,6 +84,15 @@ enable = true; }; + # This seems to be sufficient to autodetect the printing functionality of HP OfficeJet 6950 + services.printing.enable = true; + services.printing.drivers = [ pkgs.hplip ]; + services.avahi = { + enable = true; + nssmdns = true; + openFirewall = true; + }; + # This value governs how some stateful data, like databases, are handled # across different versions of NixOS. This should not be changed to a new # release unless the sysadmin has determined that no services would be