This commit is contained in:
2025-07-20 19:35:20 +02:00
parent ca04fbc930
commit c13ec6cac4
3 changed files with 26 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
lib,
...
}: let
srv = config.server;
cfg = config.server.qbittorrent;
in {
options.server.qbittorrent = {
@@ -64,8 +65,8 @@ in {
config.age.secrets.gluetunEnv.path
];
environment = {
PUID = "1000";
PGID = "1000";
PUID = "${srv.uid}";
PGID = "${srv.gid}";
TZ = "Etc/UTC";
WEBUI_PORT = "${builtins.toString cfg.port}";
};