add transmissionbt service. disabled until i can move it to the right netns

This commit is contained in:
2022-05-03 02:13:42 +00:00
parent 6688b3bc00
commit 10b3baeff4
3 changed files with 24 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
./services-conf/pleroma-configuration.nix
./services-conf/postfix-configuration.nix
./services-conf/postgres-configuration.nix
./services-conf/transmission-configuration.nix
./user-configuration.nix
];

View File

@@ -88,6 +88,18 @@
};
};
# transmission
services.nginx.virtualHosts."bt.uninsane.org" = {
# basicAuth is literally cleartext user/pw, so FORCE this to happen over SSL
forceSSL = true;
enableACME = true;
locations."/" = {
# created with htpasswd -c bt.htpasswd <user>
basicAuthFile = "/etc/nixos/services-conf/bt.htpasswd";
proxyPass = "http://127.0.0.1:9091";
};
};
services.nginx.virtualHosts."matrix.uninsane.org" = {
addSSL = true;
enableACME = true;

View File

@@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
# services.transmission.enable = true;
services.transmission.settings = {
rpc-bind-address = "0.0.0.0";
rpc-host-whitelist = "bt.uninsane.org";
# rpc-whitelist = "*.*.*.*";
};
}