NixOS-Config/modules/system/services/server/transmission/default.nix

12 lines
268 B
Nix

{ pkgs, config, ... }:
{
imports = [ ./nginx ];
services.transmission = {
enable = true;
credentialsFile = pkgs.writeText "credentials" config.secrets.transmissionCredFile;
openPeerPorts = true;
settings.rpc-authentication-required = true;
};
}