diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-06 07:44:33 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-06 07:44:33 +0200 |
commit | 0c596bf704cc7e601a191c1dc88f59a1329c701c (patch) | |
tree | d34233d500dc0c6f11d9f905fb8eee5d3d79debe | |
parent | fix(git-server/cgit): Don't run `cgit` as `root` use `git` instead (diff) | |
download | nixos-server-0c596bf704cc7e601a191c1dc88f59a1329c701c.tar.gz nixos-server-0c596bf704cc7e601a191c1dc88f59a1329c701c.zip |
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.
-rw-r--r-- | system/impermanence/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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" |