add transmissionbt service. disabled until i can move it to the right netns
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
@@ -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;
|
||||
|
11
services-conf/transmission-configuration.nix
Normal file
11
services-conf/transmission-configuration.nix
Normal 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 = "*.*.*.*";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user