mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
- Updated flake.nix to change Alejandra and other inputs to follow the new repository structure. - Modified uptime-kuma configurations to reflect the new domain for Caddy reverse proxy settings. - Adjusted various multimedia services in Sisyphe to use the new domain for Caddy virtual hosts. - Disabled the Sabnzbd service in Sisyphe and updated its Caddy configuration. - Corrected multiple service configurations in Sisyphe to point to the new domain, including Grafana, Nextcloud, and Synapse Matrix. - Ensured all references to hypervirtual.world are replaced with rougebordeaux.xyz across all relevant files.
65 lines
1.3 KiB
Nix
65 lines
1.3 KiB
Nix
{ config, ... }:
|
|
{
|
|
services.prometheus = {
|
|
enable = true;
|
|
exporters = {
|
|
node = {
|
|
enable = true;
|
|
enabledCollectors = [
|
|
"logind"
|
|
"systemd"
|
|
];
|
|
port = 9002;
|
|
};
|
|
borgmatic = {
|
|
enable = true;
|
|
};
|
|
systemd = {
|
|
enable = true;
|
|
};
|
|
sabnzbd = {
|
|
enable = true;
|
|
servers = [
|
|
{
|
|
"sisyphe" = {
|
|
baseUrl = "http://nzb.sisyphe.normandy.rougebordeaux.xyz";
|
|
apiKeyFile = "/run/secrets/sabnbzd_apikey";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
redis = {
|
|
enable = true;
|
|
};
|
|
postgres = {
|
|
enable = true;
|
|
};
|
|
pihole = {
|
|
enable = true;
|
|
piholeHostname = "192.168.1.25";
|
|
};
|
|
php-fpm = {
|
|
enable = true;
|
|
};
|
|
nextcloud = {
|
|
enable = true;
|
|
url = "https://cloud.rougebordeaux.xyz";
|
|
tokenFile = "/run/secrets/nextcloudTokenFile";
|
|
};
|
|
};
|
|
scrapeConfigs = [
|
|
|
|
{
|
|
job_name = "homelab-stats";
|
|
static_configs = [
|
|
{
|
|
targets = [
|
|
"localhost:${builtins.toString config.services.prometheus.exporters.node.port}"
|
|
"192.168.1.197:9100"
|
|
];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|