From 0c596bf704cc7e601a191c1dc88f59a1329c701c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 6 Sep 2024 07:44:33 +0200 Subject: fix(system/impermanence): Persist `/var/lib/nixos` Otherwise, the mapping of uid/gid to user name or group name could change between reboots, which would result in magically change permissions. We were already affected by this at some point, so just remove the possibility of it happening again. --- system/impermanence/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix index f42c084..b2f0778 100644 --- a/system/impermanence/default.nix +++ b/system/impermanence/default.nix @@ -19,6 +19,7 @@ directories = [ "/etc/nixos" "/var/log" + "/var/lib/nixos" ]; files = [ "/etc/machine-id" -- cgit 1.4.1