Enable Prometheus/Grafana/Loki
All checks were successful
/ test (push) Successful in 1m35s

This commit is contained in:
Andrea Ciceri 2024-07-21 18:18:24 +02:00
parent ebc446116c
commit 7f52ad42cd
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
14 changed files with 290 additions and 2 deletions

View file

@ -29,13 +29,16 @@
"forgejo"
# # "jellyfin"
# "immich"
"prometheus"
"grafana"
"prometheus-exporters"
"loki"
"promtail"
]
++ [
./disko.nix
];
# FIXME why is this needed?
nixpkgs.config.permittedInsecurePackages = ["openssl-1.1.1w"];
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_8;
# boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_testing;
boot.kernelPackages = let
@ -94,6 +97,7 @@
"/var/log"
"/var/lib/containers"
"/var/lib/postgresql"
"/home/${config.ccr.username}/.ssh"
];
files = [
"/etc/machine-id"