cleanup
Some checks failed
Test / tests (push) Failing after 2m13s
/ OpenTofu (push) Successful in 13s

This commit is contained in:
plasmagoat 2025-07-28 12:08:32 +02:00
parent bcbcc8b17b
commit 3362c47211
29 changed files with 44 additions and 2138 deletions

41
hosts/monitor/default.nix Normal file
View file

@ -0,0 +1,41 @@
{
config,
name,
...
}: {
sops.secrets."restic/default-password" = {};
homelab = {
enable = true;
hostname = name;
tags = [name];
monitoring.enable = true;
motd.enable = true;
backups = {
enable = true;
backends = {
restic = {
enable = true;
repository = "/srv/restic-repo";
passwordFile = config.sops.secrets."restic/default-password".path;
};
};
};
services.prometheus = {
enable = true;
};
services.gatus = {
enable = true;
ui = {
title = "Homelab Status Dashboard";
header = "My Homelab Services";
};
};
};
system.stateVersion = "25.05";
}