about summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/svcs/printing/default.nix4
1 files changed, 4 insertions, 0 deletions
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 = {