cleanup
This commit is contained in:
parent
bcbcc8b17b
commit
3362c47211
29 changed files with 44 additions and 2138 deletions
41
hosts/monitor/default.nix
Normal file
41
hosts/monitor/default.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue