From 8e11ccc75ef4dc180426c97e9940e1089517e830 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Wed, 22 Jan 2025 18:34:10 -0500 Subject: [PATCH] gerg-desktop add printers --- nixosConfigurations/gerg-desktop/main.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixosConfigurations/gerg-desktop/main.nix b/nixosConfigurations/gerg-desktop/main.nix index 4dbae45..6946a54 100644 --- a/nixosConfigurations/gerg-desktop/main.nix +++ b/nixosConfigurations/gerg-desktop/main.nix @@ -24,6 +24,7 @@ "steam" "steam-unwrapped" "steam-run" + "hplip" ]; packages = { inherit (pkgs) @@ -178,6 +179,17 @@ }; }; + # printing + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; + services.printing = { + enable = true; + drivers = [ pkgs.hplipWithPlugin ]; + }; + #user managment sops.secrets.gerg.neededForUsers = true;