Add deluge
This commit is contained in:
parent
14a99bccc4
commit
e07c7c9aa5
2 changed files with 20 additions and 0 deletions
19
packages/deluge/homeserver.nix
Normal file
19
packages/deluge/homeserver.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.deluge = {
|
||||||
|
enable = true;
|
||||||
|
user = "media";
|
||||||
|
declarative = true;
|
||||||
|
dataDir = "/mnt/mass/Services/Deluge";
|
||||||
|
authFile = "/mnt/mass/Services/Deluge/auth";
|
||||||
|
|
||||||
|
config = {
|
||||||
|
download_location = "/mnt/mass/Torrents";
|
||||||
|
allow_remote = true;
|
||||||
|
listen_ports = [ 57597 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 57597 58846 ];
|
||||||
|
}
|
|
@ -10,6 +10,7 @@
|
||||||
../packages/nginx/homeserver.nix
|
../packages/nginx/homeserver.nix
|
||||||
../packages/syncthing/homeserver.nix
|
../packages/syncthing/homeserver.nix
|
||||||
../packages/wireguard/package.nix
|
../packages/wireguard/package.nix
|
||||||
|
../packages/deluge/homeserver.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
Loading…
Reference in a new issue