refactor: Migrate for qbittorrent and cross-seed changes
This commit is contained in:
parent
26480fa792
commit
1d5d29f29c
2 changed files with 11 additions and 5 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -60,11 +60,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1744762232,
|
||||
"narHash": "sha256-InKnXrZhGVnIoxAF7GHg33Ue6njbobCatesKd2Y90QA=",
|
||||
"lastModified": 1745023510,
|
||||
"narHash": "sha256-Nksd8+f21lT6EJ2ihU/ho18hObVVuOKRvzojWPJD/W4=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "e67c2c2a8637dc171168bc0f16ab23399542c680",
|
||||
"revCount": 149,
|
||||
"rev": "00e827fface62bfe12994ce31b7d313c0a28e8eb",
|
||||
"revCount": 150,
|
||||
"type": "git",
|
||||
"url": "https://forge.catnip.ee/batteredbunny/common.nix"
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.cross-seed = {
|
||||
enable = true;
|
||||
|
@ -19,6 +19,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Needed for running cross-seed's hook
|
||||
# /bin/sh -c "curl -XPOST http://localhost:2468/api/webhook?apikey=key --data-urlencode 'infoHash=%I'"
|
||||
systemd.services.qbittorrent-nox.path = with pkgs; [
|
||||
curl
|
||||
];
|
||||
|
||||
users.users."cross-seed".extraGroups = [
|
||||
config.services.qbittorrent-nox.group
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue