Compare commits

..

No commits in common. "f275df95e51780a80c2981acf28a2336fcab99f1" and "6ab5672a8c14c15a3f3febe8b4b31b8cb48761a6" have entirely different histories.

4 changed files with 383 additions and 1203 deletions

View file

@ -321,7 +321,6 @@ in
vlc vlc
obs-studio obs-studio
spotify spotify
spot
# IM # IM
element-desktop element-desktop
tdesktop tdesktop

View file

@ -91,6 +91,10 @@ in
${pkgs.comma}/bin/comma $argv ${pkgs.comma}/bin/comma $argv
end end
set -gx LS_COLORS (${lib.getExe pkgs.vivid} generate catppuccin-mocha) 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 else
""; "";

File diff suppressed because it is too large Load diff

View file

@ -120,12 +120,11 @@ in
webhook_configs = [ webhook_configs = [
{ {
url = "${ntfyUrl}/prometheus-alerts?tpl=yes&m=${lib.escapeURL '' url = "${ntfyUrl}/prometheus-alerts?tpl=yes&m=${lib.escapeURL ''
{{ if eq .truncatedAlerts 0 }}{{ else }}{{.truncatedAlerts}} truncated {{range .alerts}}{{ if eq .status "resolved" }}{{ else }}{{ if eq .status "firing" }}🔥{{end}}{{end}}{{.labels.alertname}}
{{end}}{{range .alerts}}{{ if eq .status "resolved" }}{{ else }}{{ if eq .status "firing" }}🔥{{end}}{{end}}{{.labels.alertname}} {{.annotations.summary}}
{{.annotations.summary}} {{end}}''}";
{{end}}''}";
send_resolved = true; send_resolved = true;
max_alerts = 10; max_alerts = 5;
} }
]; ];
} }