mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Use lib.singleton when convenient
This commit is contained in:
parent
dd3c11d88b
commit
464b6a7850
6 changed files with 34 additions and 46 deletions
|
|
@ -159,17 +159,15 @@ in
|
|||
success-threshold = 4;
|
||||
send-on-resolved = true;
|
||||
};
|
||||
overrides = [
|
||||
{
|
||||
group = "Monitoring";
|
||||
topic = "stork-atlas";
|
||||
url = "https://ntfy.sh";
|
||||
default-alert = {
|
||||
failure-threshold = 4;
|
||||
success-threshold = 2;
|
||||
};
|
||||
}
|
||||
];
|
||||
overrides = lib.singleton {
|
||||
group = "Monitoring";
|
||||
topic = "stork-atlas";
|
||||
url = "https://ntfy.sh";
|
||||
default-alert = {
|
||||
failure-threshold = 4;
|
||||
success-threshold = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
ui.default-sort-by = "group";
|
||||
maintenance = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue