Start refactoring

- remove emacs
- remove inputs
- trying to speed up evaluation
- update inputs
This commit is contained in:
Andrea Ciceri 2024-09-19 14:34:37 +02:00
parent 0ab8805aa5
commit 2d3e4844b7
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
39 changed files with 808 additions and 1452 deletions

View file

@ -8,7 +8,7 @@
mkFor = hosts: lib.mkIf (builtins.elem hostname hosts);
in {
services.prometheus.exporters = {
node = mkFor ["sisko" "picard"] {
node = mkFor ["sisko" "picard" "kirk"] {
enable = true;
enabledCollectors = [
"cpu"
@ -34,10 +34,10 @@ in {
];
extraFlags = ["--collector.ethtool" "--collector.softirqs" "--collector.tcpstat" "--collector.wifi"];
};
wireguard = mkFor ["sisko" "picard"] {
wireguard = mkFor ["sisko" "picard" "kirk"] {
enable = true;
};
zfs = mkFor ["picard"] {
zfs = mkFor ["picard" "kirk"] {
enable = true;
};
# restic = mkFor ["sisko"] {
@ -49,7 +49,7 @@ in {
nginx = mkFor ["sisko"] {
enable = true;
};
smartctl = mkFor ["sisko" "picard"] {
smartctl = mkFor ["sisko" "picard" "kirk"] {
enable = true;
};
};