qbittorrent: use recursiveUpdate for extraSettings merge
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user