ADD transmission

This commit is contained in:
Alexandre LUCAZEAU 2022-09-16 10:23:18 +00:00
parent eee1f76df3
commit ee61254dde
2 changed files with 16 additions and 0 deletions

View File

@ -7,6 +7,7 @@
../modules/users.nix
../modules/common.nix
../modules/navidrome.nix
../modules/transmission.nix
../modules/prometheus-node.nix
./agenix.nix
# <agenix/modules/age.nix>

15
modules/transmission.nix Normal file
View File

@ -0,0 +1,15 @@
{ config, pkgs, lib, ... }:
{
services.transmission = {
enable = true;
openFirewall = true;
openRPCPort = true;
settings = {
rpc-bind-address = "0.0.0.0";
rpc-whitelist = "192.168.10.*";
rpc-whitelist-enable = true;
};
};
#networking.firewall.allowedTCPPorts = [ 9091 ];
}