From 913f75bd0d1e8c8f10aad666b112a25e9e0ad686 Mon Sep 17 00:00:00 2001 From: noe Date: Fri, 31 May 2024 01:56:25 -0400 Subject: [PATCH] remove assertions --- modules/pihole-container.factory.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/pihole-container.factory.nix b/modules/pihole-container.factory.nix index 4518365..96419f7 100644 --- a/modules/pihole-container.factory.nix +++ b/modules/pihole-container.factory.nix @@ -326,13 +326,13 @@ in rec { config = mkIf cfg.enable { - assertions = [ - { assertion = length hostUserCfg.subUidRanges > 0 && length hostUserCfg.subGidRanges > 0; - message = '' - The host user most have configured subUidRanges & subGidRanges as pihole is running in a rootless podman container. - ''; - } - ]; + # assertions = [ + # { assertion = length hostUserCfg.subUidRanges > 0 && length hostUserCfg.subGidRanges > 0; + # message = '' + # The host user most have configured subUidRanges & subGidRanges as pihole is running in a rootless podman container. + # ''; + # } + # ]; warnings = (optional (cfg.hostConfig.enableLingeringForUser == false) '' If lingering is not enabled for the host user which is running the pihole container then he service might be stopped when no user session is active.