chore(config): reduce ironbar favorites, disable cadvisor, update pihole hostname for the extractor
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
# "9" = "icon:discord";
|
# "9" = "icon:discord";
|
||||||
# "10" = "icon:spotify";
|
# "10" = "icon:spotify";
|
||||||
};
|
};
|
||||||
favorites = ["1" "2" "3" "4" "5" "6" "7" "8" "9" "10"];
|
favorites = ["1" "2" "3" "4"];
|
||||||
all_monitors = false;
|
all_monitors = false;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -55,21 +55,21 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Docker cAdvisor for container metrics
|
# Docker cAdvisor for container metrics
|
||||||
virtualisation.oci-containers.containers.cadvisor = {
|
# virtualisation.oci-containers.containers.cadvisor = {
|
||||||
image = "gcr.io/cadvisor/cadvisor:v0.49.1";
|
# image = "gcr.io/cadvisor/cadvisor:v0.49.1";
|
||||||
ports = ["${toString ports.cadvisor}:8080"];
|
# ports = ["${toString ports.cadvisor}:8080"];
|
||||||
volumes = [
|
# volumes = [
|
||||||
"/:/rootfs:ro"
|
# "/:/rootfs:ro"
|
||||||
"/var/run:/var/run:ro"
|
# "/var/run:/var/run:ro"
|
||||||
"/sys:/sys:ro"
|
# "/sys:/sys:ro"
|
||||||
"/var/lib/docker/:/var/lib/docker:ro"
|
# "/var/lib/docker/:/var/lib/docker:ro"
|
||||||
"/dev/disk/:/dev/disk:ro"
|
# "/dev/disk/:/dev/disk:ro"
|
||||||
];
|
# ];
|
||||||
extraOptions = [
|
# extraOptions = [
|
||||||
"--privileged"
|
# "--privileged"
|
||||||
"--device=/dev/kmsg"
|
# "--device=/dev/kmsg"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Open firewall ports for Prometheus exporters
|
# Open firewall ports for Prometheus exporters
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ in {
|
|||||||
LoadCredential = "ppassword:${config.sops.secrets."pihole/password".path}";
|
LoadCredential = "ppassword:${config.sops.secrets."pihole/password".path}";
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.bash}/bin/bash -c '${pkgs.prometheus-pihole-exporter}/bin/pihole-exporter \
|
${pkgs.bash}/bin/bash -c '${pkgs.prometheus-pihole-exporter}/bin/pihole-exporter \
|
||||||
-pihole_hostname pihole.darksailor.dev \
|
-pihole_hostname localhost \
|
||||||
-pihole_port 8053 \
|
-pihole_port 8053 \
|
||||||
-port ${toString ports.pihole} \
|
-port ${toString ports.pihole} \
|
||||||
-pihole_password $(cat ''${CREDENTIALS_DIRECTORY}/ppassword)'
|
-pihole_password $(cat ''${CREDENTIALS_DIRECTORY}/ppassword)'
|
||||||
|
|||||||
Reference in New Issue
Block a user