{ pkgs, config, ... }:
{
  imports = [ ./nginx ];

  services.transmission = {
    enable = true;
    credentialsFile = pkgs.writeText "credentials" config.secrets.transmissionCredFile;
    openPeerPorts = true;
    settings.rpc-authentication-required = true;
  };
}
