15 lines
293 B
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;
|
||
|
};
|
||
|
};
|
||
|
}
|