pi/config/services.nix
2026-04-11 12:53:19 +02:00

50 lines
1.2 KiB
Nix

let
storage_data = import ../config/storage.nix;
secrets = import ../intermediate/secrets.nix;
in
rec {
continuwuity = {
port = 6167;
server_name = "nudelerde.de";
trusted_servers = [ "matrix.org" ];
memory_max = "512M";
livekit_url = "https://livekit.nudelerde.de";
package = {
version = "0.5.6";
sourceHash = "sha256-p6dL1wL9n+1ivUItdlZuLxTneDBjCHEdNr0ukau2rHI=";
cargoHash = "sha256-lLbnFA2WS96er84G2e9bGrYhhqe2zL3Npn1SXB3De2w=";
};
};
qbittorrent = {
port = 8085;
root_dir = "${storage_data.ssd.path}/qbittorrent";
vpn = {
username_file = secrets.byName.qbittorrent_vpn_username.path;
password_file = secrets.byName.qbittorrent_vpn_password.path;
};
};
kiwix = {
port = 8086;
root_dir = "${storage_data.ssd.path}/kiwix";
urls = [
"https://ftp.fau.de/kiwix/zim/wikipedia/wikipedia_en_all_nopic_2025-08.zim"
"https://download.kiwix.org/zim/wikipedia/wikipedia_de_all_nopic_2026-01.zim"
];
};
vikunja = {
port = 8081;
};
"metric-exporter" = {
port = 9100;
collectors = [
"systemd"
"processes"
"thermal_zone"
];
};
}