This commit is contained in:
2025-07-22 16:38:06 +02:00
parent 2b926beefd
commit 90dd871c6a

View File

@@ -4,9 +4,6 @@
... ...
}: let }: let
cfg = config.server.qbittorrent; cfg = config.server.qbittorrent;
srv = config.server;
uid = 899;
gid = 777;
in { in {
options.server.qbittorrent = { options.server.qbittorrent = {
enable = lib.mkEnableOption "Enable qBittorrent"; enable = lib.mkEnableOption "Enable qBittorrent";
@@ -50,7 +47,7 @@ in {
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
qbittorrent = { qbittorrent = {
image = "ghcr.io/hotio/qbittorrent:latest"; image = "ghcr.io/hotio/qbittorrent:latest";
user = "share"; user = "994:993";
autoStart = true; autoStart = true;
dependsOn = ["gluetun"]; dependsOn = ["gluetun"];
ports = [ ports = [
@@ -99,17 +96,5 @@ in {
}; };
}; };
}; };
# users = {
# users.qbittorrent = {
# inherit uid;
# group = "${srv.group}";
# # extraGroups = ["${srv.group}"];
# isSystemUser = true;
# };
# # groups.qbittorrent = {
# # inherit gid;
# # };
# };
}; };
} }