treewide: dedup monitoring profile imports
This commit is contained in:
parent
437bf52b60
commit
46085e5d9c
|
@ -64,9 +64,14 @@ let
|
||||||
services.restic
|
services.restic
|
||||||
];
|
];
|
||||||
|
|
||||||
|
monitoring = with profiles; [
|
||||||
|
services.prometheus.node-exporter
|
||||||
|
services.prometheus.ping-exporter
|
||||||
|
];
|
||||||
|
|
||||||
workstation = suites.baseline ++ suites.network ++ suites.desktop ++ suites.backup;
|
workstation = suites.baseline ++ suites.network ++ suites.desktop ++ suites.backup;
|
||||||
|
|
||||||
server = suites.baseline ++ suites.network ++ suites.backup;
|
server = suites.baseline ++ suites.network ++ suites.backup ++ suites.monitoring;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
suites.server
|
suites.server
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
services.caddy
|
services.caddy
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
services.caddy
|
services.caddy
|
||||||
services.knot.secondary
|
services.knot.secondary
|
||||||
services.ntfy
|
services.ntfy
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
services.prometheus.server
|
services.prometheus.server
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
services.caddy
|
services.caddy
|
||||||
services.knot.primary
|
services.knot.primary
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
services.caddy
|
services.caddy
|
||||||
services.knot.secondary
|
services.knot.secondary
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
services.matrix.synapse
|
services.matrix.synapse
|
||||||
services.miniflux
|
services.miniflux
|
||||||
services.postgresql
|
services.postgresql
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
services.mail.dovecot
|
services.mail.dovecot
|
||||||
services.mail.postfix
|
services.mail.postfix
|
||||||
services.mail.rspamd
|
services.mail.rspamd
|
||||||
services.prometheus.node-exporter
|
|
||||||
services.prometheus.ping-exporter
|
|
||||||
services.well-known
|
services.well-known
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
Loading…
Reference in a new issue