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

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