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

16 lines
293 B
Nix

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