diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-04-02 19:07:17 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-04-02 23:33:02 -0600 |
| commit | 94ffaabeb9602e689e55fdd21b9beb2d9c552901 (patch) | |
| tree | 72c4d82ed2afc2386e7462c727d213f11d249cd3 /sys/boot/impermanence.nix | |
| parent | ee0b5f7edfe9fba65f9749f65377c4f519c7fc0a (diff) | |
sys/platform: [lustrated]: switch to luks-ext4-fscrypt-impermanence boot stack
Diffstat (limited to '')
| -rw-r--r-- | sys/boot/impermanence.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/boot/impermanence.nix b/sys/boot/impermanence.nix index 09aee09..5c7e46b 100644 --- a/sys/boot/impermanence.nix +++ b/sys/boot/impermanence.nix @@ -33,10 +33,18 @@ in { "/var/log" ]; - files = [ - "/etc/machine-id" - "/var/lib/logrotate.status" - ]; + files = + [ + "/etc/machine-id" + "/var/lib/logrotate.status" + ] + ++ optionals config.users.mutableUsers [ + "/etc/group" + "/etc/passwd" + "/etc/shadow" + "/etc/subuid" + "/etc/subgid" + ]; }; } (mkIf cfg.enable { |
