diff options
author | Soispha <soispha@vhack.eu> | 2024-02-07 20:40:49 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-07 20:40:49 +0100 |
commit | 6a32061d7410891618ca0b6fc482087650514336 (patch) | |
tree | b61f1a552f78376f6d2115fd8a1bbb1b5af81a98 /sys/svcs/printing/default.nix | |
parent | fix(sys/nixpkgs/pkgs/comments): Make `channel_is_verified` optional (diff) | |
download | nixos-config-6a32061d7410891618ca0b6fc482087650514336.tar.gz nixos-config-6a32061d7410891618ca0b6fc482087650514336.zip |
fix(sys/svcs/printing): Configure Cups to be stateless
Diffstat (limited to 'sys/svcs/printing/default.nix')
-rw-r--r-- | sys/svcs/printing/default.nix | 4 |
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 = { |