chore(ct): update template

This commit is contained in:
arcnmx 2024-01-31 13:47:03 -08:00
parent a283b4bf9a
commit a03d567652
3 changed files with 9 additions and 4 deletions

View file

@ -5,4 +5,10 @@
inherit (lib) mkDefault;
in {
services.kanidm.serverSettings.db_fs_type = mkDefault "zfs";
# work around a filesystem issue when migrating an unprivileged container to privileged
boot.postBootCommands = ''
if [[ $(stat -c '%u' /) != 0 ]]; then
chown 0:0 / /*
fi
'';
}