mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
8 lines
202 B
Nix
8 lines
202 B
Nix
_: {
|
|
# work around a filesystem issue when migrating an unprivileged container to privileged
|
|
boot.postBootCommands = ''
|
|
if [[ $(stat -c '%u' /) != 0 ]]; then
|
|
chown 0:0 / /*
|
|
fi
|
|
'';
|
|
}
|