remove assertions
This commit is contained in:
parent
a125ee3d1c
commit
913f75bd0d
1 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue