diff --git a/modules/pihole-container.factory.nix b/modules/pihole-container.factory.nix index 7287929..917adef 100644 --- a/modules/pihole-container.factory.nix +++ b/modules/pihole-container.factory.nix @@ -327,9 +327,9 @@ in rec { config = mkIf cfg.enable { 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 = '' - 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. ''; } ];