remove assertions

This commit is contained in:
41666 2024-05-31 01:56:25 -04:00
parent a125ee3d1c
commit 913f75bd0d

View file

@ -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.