impermanence: persist /var/lib/nixos/
This commit is contained in:
parent
57040d5a76
commit
830dd4c72a
|
@ -34,6 +34,14 @@
|
||||||
group = "root";
|
group = "root";
|
||||||
mode = "1777";
|
mode = "1777";
|
||||||
}
|
}
|
||||||
|
# The uid and gid maps for entities without a static id is saved in
|
||||||
|
# /var/lib/nixos. Persist to ensure they aren't changed between reboots.
|
||||||
|
{
|
||||||
|
directory = "/var/lib/nixos";
|
||||||
|
user = "root";
|
||||||
|
group = "root";
|
||||||
|
mode = "0755";
|
||||||
|
}
|
||||||
# Save the last run time of persistent timers so systemd knows if they were missed
|
# Save the last run time of persistent timers so systemd knows if they were missed
|
||||||
{
|
{
|
||||||
directory = "/var/lib/systemd/timers";
|
directory = "/var/lib/systemd/timers";
|
||||||
|
|
Loading…
Reference in a new issue