mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-06 16:14:17 +00:00
feature(backup): a dir to dump configs into
This commit is contained in:
parent
ccd59f628d
commit
321b079215
|
@ -97,6 +97,7 @@ in
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"# Completely remove remnants of NIXOS_LUSTRATE."
|
"# Completely remove remnants of NIXOS_LUSTRATE."
|
||||||
"R! /old-root"
|
"R! /old-root"
|
||||||
|
"d /etc/selfprivacy/dump 0755 0755 selfprivacy-api selfprivacy-api"
|
||||||
];
|
];
|
||||||
system.stateVersion =
|
system.stateVersion =
|
||||||
lib.mkIf (config.selfprivacy.stateVersion != null)
|
lib.mkIf (config.selfprivacy.stateVersion != null)
|
||||||
|
|
Loading…
Reference in a new issue