From 6a32061d7410891618ca0b6fc482087650514336 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 7 Feb 2024 20:40:49 +0100 Subject: fix(sys/svcs/printing): Configure Cups to be stateless --- sys/svcs/printing/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/svcs') diff --git a/sys/svcs/printing/default.nix b/sys/svcs/printing/default.nix index d996ec20..47f00d21 100644 --- a/sys/svcs/printing/default.nix +++ b/sys/svcs/printing/default.nix @@ -9,6 +9,10 @@ enable = true; startWhenNeeded = true; webInterface = false; + + # deletes `/var/cache/cups`, `/var/lib/cups` and `/var/spool/cups` on cups startup + stateless = true; + drivers = []; }; hardware = { -- cgit 1.4.1