Compare commits
3 commits
6ab5672a8c
...
f275df95e5
Author | SHA1 | Date | |
---|---|---|---|
f275df95e5 | |||
f1ec49cc58 | |||
e5ddc316b6 |
4 changed files with 1203 additions and 383 deletions
|
@ -321,6 +321,7 @@ in
|
|||
vlc
|
||||
obs-studio
|
||||
spotify
|
||||
spot
|
||||
# IM
|
||||
element-desktop
|
||||
tdesktop
|
||||
|
|
|
@ -91,10 +91,6 @@ in
|
|||
${pkgs.comma}/bin/comma $argv
|
||||
end
|
||||
set -gx LS_COLORS (${lib.getExe pkgs.vivid} generate catppuccin-mocha)
|
||||
alias ctlsp="systemctl stop"
|
||||
alias ctlst="systemctl start"
|
||||
alias ctlrt="systemctl restart"
|
||||
alias ctls="systemctl status"
|
||||
''
|
||||
else
|
||||
"";
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -120,11 +120,12 @@ in
|
|||
webhook_configs = [
|
||||
{
|
||||
url = "${ntfyUrl}/prometheus-alerts?tpl=yes&m=${lib.escapeURL ''
|
||||
{{range .alerts}}{{ if eq .status "resolved" }}✅{{ else }}{{ if eq .status "firing" }}🔥{{end}}{{end}}{{.labels.alertname}}
|
||||
{{ if eq .truncatedAlerts 0 }}{{ else }}{{.truncatedAlerts}} truncated
|
||||
{{end}}{{range .alerts}}{{ if eq .status "resolved" }}✅{{ else }}{{ if eq .status "firing" }}🔥{{end}}{{end}}{{.labels.alertname}}
|
||||
{{.annotations.summary}}
|
||||
{{end}}''}";
|
||||
send_resolved = true;
|
||||
max_alerts = 5;
|
||||
max_alerts = 10;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue