From 526f5acd9568b76ad5d09a4441918f66f0d74c75 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Mon, 3 Nov 2025 11:56:33 +0000 Subject: [PATCH] feat!(pm): move printing out to redhead Change-Id: spysxqsyznkokyxmsnoonllwlrspnkmq In our ongoing quest to move away from configuration.nix, this commit moves printing over to redhead (which to-my-knowledge is the only machine we want to print on). To store printer configurations (and be useful in the first place) redhead needs the CUPS directory persisted, so let's do that... --- packetmix/systems/personal/configuration.nix | 3 --- packetmix/systems/redhead/printing.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 packetmix/systems/redhead/printing.nix diff --git a/packetmix/systems/personal/configuration.nix b/packetmix/systems/personal/configuration.nix index e2fcceb9..541ee3ad 100644 --- a/packetmix/systems/personal/configuration.nix +++ b/packetmix/systems/personal/configuration.nix @@ -13,9 +13,6 @@ ... }: { - # Enable CUPS to print documents. - services.printing.enable = true; - # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; diff --git a/packetmix/systems/redhead/printing.nix b/packetmix/systems/redhead/printing.nix new file mode 100644 index 00000000..e228c1d1 --- /dev/null +++ b/packetmix/systems/redhead/printing.nix @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2025 Collabora Productivity Limited +# +# SPDX-License-Identifier: MIT + +{ pkgs, ... }: +{ + services.printing.enable = true; + clicks.storage.impermanence.persist.directories = [ "/var/lib/cups" ]; +} -- 2.43.0