dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

commit abd7b205c770aaee1175ce82c40908e09a143553
parent 1aa0ec4b07fa1876e5f7a910caba842b18b57145
Author: Chris <chris@echoz.io>
Date:   Wed, 12 Nov 2025 09:22:54 +0100

feat: configure printer

Diffstat:
Mhosts/ws/default.nix | 15+++++++++++++++
Amodules/cups/default.nix | 6++++++
2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/hosts/ws/default.nix b/hosts/ws/default.nix @@ -59,5 +59,20 @@ enableAllFirmware = true; cpu.amd.updateMicrocode = true; amdgpu.initrd.enable = true; + + printers = { + ensurePrinters = [ + { + name = "cs410n"; + deviceUri = "ipp://192.168.0.7"; + model = "everywhere"; + ppdOptions = { + PageSize = "A4"; + }; + } + ]; + + ensureDefaultPrinter = "cs410n"; + }; }; } diff --git a/modules/cups/default.nix b/modules/cups/default.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + services.printing = { + enable = true; + }; +}