From a2c549cccf16a45f12967933b7d3eaa6aa94696a Mon Sep 17 00:00:00 2001 From: cswimr Date: Fri, 7 Mar 2025 18:39:05 -0600 Subject: [PATCH] set up ipp autodiscovery for printers --- flake.nix | 1 + nixos/printing.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 nixos/printing.nix diff --git a/flake.nix b/flake.nix index a104f35..d29a4fa 100644 --- a/flake.nix +++ b/flake.nix @@ -88,6 +88,7 @@ ./nixos/nvim ./nixos/ollama.nix ./nixos/pkg.nix + ./nixos/printing.nix ./nixos/shell.nix ./nixos/sops.nix ./nixos/sudo.nix diff --git a/nixos/printing.nix b/nixos/printing.nix new file mode 100644 index 0000000..7c46ea5 --- /dev/null +++ b/nixos/printing.nix @@ -0,0 +1,8 @@ +{ + # IPP Autodiscovery + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; +}