node exporter and netdata until it's all set up

This commit is contained in:
Joseph Hanson 2024-12-16 21:45:52 -06:00
parent 3e10e6f139
commit 93ba3b0b7e
2 changed files with 21 additions and 5 deletions

View file

@ -110,6 +110,18 @@ in
services = {
xserver.videoDrivers = [ "nvidia" ];
# Prometheus exporters
prometheus.exporters = {
# Node Exporter - port 9100
node.enable = true;
# ZFS Exporter - port 9134
zfs.enable = true;
};
# Netdata
netdata = {
enable = true;
};
# Smart daemon for monitoring disk health.
smartd = {
devices = smartdDevices;
@ -126,8 +138,6 @@ in
# VSCode Compatibility Settings
vscode-server.enable = true;
# ZFS Exporter
prometheus.exporters.zfs.enable = true;
};
# sops
@ -144,6 +154,12 @@ in
mode = "400";
restartUnits = [ "syncthing.service" ];
};
"restic/password" = {
sopsFile = ./secrets.sops.yaml;
owner = "jahanson";
mode = "400";
# restartUnits = [ "restic-backup.service" ];
};
};
# System settings and services.

View file

@ -4,7 +4,7 @@ syncthing:
restic:
plex:
resticUri: ENC[AES256_GCM,data:+3hKOvzrbyswGxHAm83eXOIyM6Af8LtSqnU92DT3pQLByG22dLwZgAKDTV7BVWOWoHVqtJAC59Y3g5UOHIPZikNQ,iv:PyjAq8UllAfmiw0VNlpy7qtmHZpwwn1KMF0c/0jXptA=,tag:thwjPpvzNdS5ogaAZeo+Dg==,type:str]
password: ENC[AES256_GCM,data:nlO0faFxuIAn1kRoJEzn636eH28=,iv:p+TAdXAbusgMoDG3btIrmF6f2mqBBpp+ZphB56PTnMQ=,tag:bRS5Sinvl/bhVZTV3Q+7bA==,type:str]
resticPassword: ENC[AES256_GCM,data:nUr/p36cnKC7PjMzQyPavHA7ii8=,iv:PYf/mRbg1IZj3iEMl6T4OpwUcb9BuUHxwMLoYe3ucEA=,tag:XQ2CdgL3h2hzTNShxDpGeA==,type:str]
sops:
kms: []
gcp_kms: []
@ -83,8 +83,8 @@ sops:
NDIwV1hIcXoyZWI3dUEyeWtXd3FLcEUK0YBS95TA9luAL1mObUtH6RG4nesYZ7Fc
bB3e2p6Mrp/t1Oa/8p6WQXxu4vf5y0XCNLXeW6I6/3udrTXARaNNPA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-12-15T21:10:35Z"
mac: ENC[AES256_GCM,data:uv/65SMKTNAQbJguxOC99lijeTcCCovWSLY97WdvBKo/tD4ntq7DWs7clPnyYOER93UD2CPi5nCROlMnnS2K8i5ub7Z5w7OT7vV97cXdnb7gp4n3g7H5gFC5wyMxhLHpoBp8U1v1nIJ6TCPii6C2qp+GpBXSvd/QC+bmzqFgPLg=,iv:V4oUDILsD5oXkTOWtqdH4WcS0+79+j4MEWsClcu93mA=,tag:JmM9TVxTbNqd/xwnw+fNKQ==,type:str]
lastmodified: "2024-12-17T01:25:38Z"
mac: ENC[AES256_GCM,data:Q40uJD5jrOlgtu+btENYGn7lx9bN0kjOqAl+ud88UGzFUEUuEOG2i1k5ytsp0bV8X5ZB3QNrw1LTrMcrmeZMmt38qwKd05TGmOM+5h8eu/yGKyuLAsCpD59AmRHknBPV4qrZMWoHj6sFOekHcY7qYOW5kOE+4xM2rtUE+MA2Lp0=,iv:2lVYv5QrtGJt/fm6y+O/brND0MIF29CpLAk2rGvCkt4=,tag:8POiWZUf/pFG2JeKxEJrrA==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.9.2