This commit is contained in:
maix0 2024-12-04 23:09:00 +01:00
parent 57d451f202
commit 83937a8aec

View file

@ -327,9 +327,9 @@ in rec {
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [ assertions = [
{ assertion = (length hostUserCfg.subUidRanges > 0 && length hostUserCfg.subGidRanges > 0) || hostUserCfg.autoSubUidGidRange; { assertion = (length hostUserCfg.subUidRanges > 0 && length hostUserCfg.subGidRanges > 0) || hostUserCfg.autoSubUidGidRange == true;
message = '' message = ''
The host user most have configured subUidRanges & subGidRanges as pihole is running in a rootless podman container. The host user must have configured subUidRanges & subGidRanges as pihole is running in a rootless podman container.
''; '';
} }
]; ];