about summary refs log tree commit diff
path: root/nixos/alpha
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 12:36:35 +0900
committersefidel <contact@sefidel.net>2023-09-02 12:36:35 +0900
commite8eccb1d82087834529b8d37f409fc5a275efc49 (patch)
tree5714161ab96d9521e621f312d75492dc1993f8f9 /nixos/alpha
parent2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7 (diff)
downloadnixrc-e8eccb1d82087834529b8d37f409fc5a275efc49.tar.gz
nixrc-e8eccb1d82087834529b8d37f409fc5a275efc49.zip
feat(nixos/alpha): persist cups settings
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 5346f55..ea4c5d0 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -181,6 +181,10 @@
   services.avahi.enable = true;
   services.avahi.nssmdns = true;
 
+  environment.persistence."/persist".directories = [
+    "/etc/cups"
+  ];
+
   services.pcscd.enable = true;
 
   programs.dconf.enable = true;