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