From 83937a8aec118122d508873cc35b170c5bbd7375 Mon Sep 17 00:00:00 2001 From: maix0 Date: Wed, 4 Dec 2024 23:09:00 +0100 Subject: [PATCH] update: --- modules/pihole-container.factory.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. ''; } ];