modules/monitoring: add loki and promtail

This commit is contained in:
xinyangli 2024-12-02 14:44:26 +08:00
parent 92db38383e
commit 4b5b41b05a
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
20 changed files with 406 additions and 86 deletions

View file

@ -2,6 +2,7 @@
{
config = {
sops = {
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = {
wg_private_key = {
owner = "root";
@ -33,6 +34,10 @@
node.enable = true;
};
custom.monitoring = {
promtail.enable = true;
};
services.tailscale.enable = true;
commonSettings = {