mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
feat: ajout de Django 3.1.14, configuration de sabnzbd et amélioration de l'archivebox
This commit is contained in:
parent
e8bb4e0586
commit
7a8cf7b1df
4 changed files with 71 additions and 26 deletions
|
@ -11,23 +11,54 @@
|
|||
];
|
||||
port = 9002;
|
||||
};
|
||||
borgmatic = {
|
||||
enable = true;
|
||||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
};
|
||||
sabnzbd = {
|
||||
enable = true;
|
||||
servers = [
|
||||
{
|
||||
"sisyphe" = {
|
||||
apiKeyFile = "/run/secrets/sabnbzd_apikey";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
redis = {
|
||||
enable = true;
|
||||
};
|
||||
postgres = {
|
||||
enable = true;
|
||||
};
|
||||
pihole = {
|
||||
enable = true;
|
||||
pihoeHostname = "192.168.1.25";
|
||||
};
|
||||
php-fpm = {
|
||||
enable = true;
|
||||
};
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
url = "https://cloud.hypervirtual.world";
|
||||
tokenFile = "/run/secrets/nextcloudTokenFile";
|
||||
};
|
||||
};
|
||||
scrapeConfigs = [
|
||||
/*
|
||||
{
|
||||
job_name = "synapse";
|
||||
scrape_interval = "15s";
|
||||
metrics_path = "/_synapse/metrics";
|
||||
static_configs = [ { targets = [ "localhost:9000" ]; } ];
|
||||
}
|
||||
*/
|
||||
|
||||
{
|
||||
job_name = "homelab-stats";
|
||||
static_configs = [
|
||||
{ targets = [ "localhost:${builtins.toString config.services.prometheus.exporters.node.port}" ]; }
|
||||
{
|
||||
targets = [
|
||||
"localhost:${builtins.toString config.services.prometheus.exporters.node.port}"
|
||||
"192.168.1.197:9100"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue