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

14 lines
274 B
Nix

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