From 1a67a3eeaac68a15516b36ddecdde83c76c99a52 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 8 Oct 2025 14:28:19 -0700 Subject: Modularize printer configuration --- hosts/caladan/hardware-configuration.nix | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'hosts/caladan/hardware-configuration.nix') diff --git a/hosts/caladan/hardware-configuration.nix b/hosts/caladan/hardware-configuration.nix index 302606c..9325e99 100644 --- a/hosts/caladan/hardware-configuration.nix +++ b/hosts/caladan/hardware-configuration.nix @@ -47,29 +47,5 @@ #package = pkgs.master.mesa; #package32 = pkgs.master.pkgsi686Linux.mesa; }; - - #nvidia = let - # betaPkg = config.boot.kernelPackages.nvidiaPackages.beta; - # pkgAfterFbc = if builtins.hasAttr betaPkg.version pkgs.nvidia-patch-list.fbc then pkgs.nvidia-patch.patch-fbc betaPkg else betaPkg; - # finalPkg = if builtins.hasAttr betaPkg.version pkgs.nvidia-patch-list.nvenc then pkgs.nvidia-patch.patch-nvenc pkgAfterFbc else pkgAfterFbc; - #in { - # modesetting.enable = true; - # open = true; - # package = if finalPkg == betaPkg then betaPkg else finalPkg; - #}; - - printers = let - brother = "Brother_HL-L2340D"; - ip = "192.168.1.20"; - in { - ensureDefaultPrinter = brother; - ensurePrinters = [{ - name = brother; - deviceUri = "ipp://${ip}/ipp"; - model = "everywhere"; - description = lib.replaceStrings [ "_" ] [ " " ] brother; - location = "home"; - }]; - }; }; } -- cgit v1.2.3