summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-25 17:09:06 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-25 17:09:06 +0100
commitbd497703e30d08082525527634baa15c2c9d80a2 (patch)
treea5858c2a620d17dc231c676d4a2dbd522515a346 /system
parentfix(system): Remove out-dated imports (diff)
downloadnixos-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')
0 files changed, 0 insertions, 0 deletions