Fix errors

This commit is contained in:
Théo Barnouin 2025-05-14 12:05:13 +02:00
parent 03300b37ae
commit 75c83260c6

View file

@ -20,11 +20,11 @@ in {
}; };
age.secrets.docker-gluetun-env = { age.secrets.docker-gluetun-env = {
file = ./secrets/docker-gluetun-env.age; file = ./secrets/docker-gluetun-env.age;
owner = "crowdsec"; owner = "tbarnouin";
}; };
age.secrets.docker-qbittorrent-env = { age.secrets.docker-qbittorrent-env = {
file = ./secrets/docker-qbittorrent-env.age; file = ./secrets/docker-qbittorrent-env.age;
owner = "crowdsec"; owner = "tbarnouin";
}; };
users.users.tbarnouin.extraGroups = ["docker"]; users.users.tbarnouin.extraGroups = ["docker"];
fileSystems = { fileSystems = {
@ -88,7 +88,7 @@ in {
"qbittorrent" = { "qbittorrent" = {
autoStart = true; autoStart = true;
image = "lscr.io/linuxserver/qbittorrent:latest"; image = "lscr.io/linuxserver/qbittorrent:latest";
environmentFiles = ["${config.age.secrets.docker-qbittorrent-envpath}"]; environmentFiles = ["${config.age.secrets.docker-qbittorrent-env.path}"];
environment = { environment = {
"DOCKER_MODS" = "ghcr.io/t-anc/gsp-qbittorent-gluetun-sync-port-mod:main"; "DOCKER_MODS" = "ghcr.io/t-anc/gsp-qbittorent-gluetun-sync-port-mod:main";
"GSP_MINIMAL_LOGS" = "false"; "GSP_MINIMAL_LOGS" = "false";