qbittorrent: use recursiveUpdate for extraSettings merge
Deploy / run-nix-build (push) Has been cancelled
Deploy / deploy-site (push) Has been cancelled
Lint / fmt (push) Has been cancelled
Lint / build-website (push) Has been cancelled
Lint / test (push) Has been cancelled

This commit is contained in:
Alexander
2026-04-27 19:01:37 +02:00
parent b99f33bf02
commit d2c890054a
+2 -2
View File
@@ -117,7 +117,7 @@ in {
webuiPort = cfg.uiPort; webuiPort = cfg.uiPort;
torrentingPort = cfg.peerPort; torrentingPort = cfg.peerPort;
openFirewall = cfg.openFirewall; openFirewall = cfg.openFirewall;
serverConfig = serverConfig = lib.recursiveUpdate
{ {
LegalNotice.Accepted = true; LegalNotice.Accepted = true;
BitTorrent.Session = { BitTorrent.Session = {
@@ -142,7 +142,7 @@ in {
}; };
}; };
} }
// cfg.extraSettings; cfg.extraSettings;
}; };
users.users.qbittorrent = { users.users.qbittorrent = {