Add ignoredUnits option; skip logrotate failures on s0 because they are spurious

This commit is contained in:
2026-03-03 21:46:19 -08:00
parent 6bd1b4466e
commit c6eeea982e
3 changed files with 14 additions and 0 deletions

View File

@@ -19,6 +19,12 @@
default = "";
description = "Extra arguments to pass to curl (e.g. --proxy http://host:port).";
};
ignoredUnits = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = "Unit names to skip failure notifications for.";
};
};
config = lib.mkIf config.thisMachine.hasRole."ntfy" {