diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 17:09:06 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 17:09:06 +0100 |
commit | bd497703e30d08082525527634baa15c2c9d80a2 (patch) | |
tree | a5858c2a620d17dc231c676d4a2dbd522515a346 /system/services/rust-motd/default.nix | |
parent | fix(system): Remove out-dated imports (diff) | |
download | nixos-server-bd497703e30d08082525527634baa15c2c9d80a2.tar.gz nixos-server-bd497703e30d08082525527634baa15c2c9d80a2.zip |
fix(modules/impermanence): Don't always persist `/var/log` and `/var/lib/nixos`
Persisting them, without marking the `/srv` containing fs as `neededForBoot` will result in a kernel panic in the init (because `impermanence` tries to mount these directories and fails as `/srv` is still missing.) Thus, each host, that sets `/srv` to `neededForBoot` should add these directories to `vhack.persist.directories`.
Diffstat (limited to 'system/services/rust-motd/default.nix')
0 files changed, 0 insertions, 0 deletions