From e8eccb1d82087834529b8d37f409fc5a275efc49 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 2 Sep 2023 12:36:35 +0900 Subject: feat(nixos/alpha): persist cups settings --- nixos/alpha/configuration.nix | 4 ++++ nixos/default.nix | 1 + 2 files changed, 5 insertions(+) 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; diff --git a/nixos/default.nix b/nixos/default.nix index 86ab055..3be741d 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -9,6 +9,7 @@ ../modules/cachix ../modules/keyd-qol.nix inputs.sops-nix.nixosModules.sops + inputs.impermanence.nixosModules.impermanence ]; }; -- cgit 1.4.1