NixOS-Config/modules/system/services/transmission/default.nix
2024-10-09 03:36:08 -04:00

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;
};
};
}