summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-24 23:32:28 +0200
committermakefu <github@syntax-fehler.de>2018-09-24 23:32:28 +0200
commit20c69c0386df4606af544342d7de6638356572a3 (patch)
treeabbd3b51eff8cd5ab8d962acabacd135a6fdcabd /makefu/2configs
parent796ad2c5c8ed67a4ece5a78e8e9cd5e1fbfe4e9e (diff)
treewide: makefu.airdcpp -> krebs.airdcpp
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/dcpp/airdcpp.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/makefu/2configs/dcpp/airdcpp.nix b/makefu/2configs/dcpp/airdcpp.nix
index 44940812d..fe05effd9 100644
--- a/makefu/2configs/dcpp/airdcpp.nix
+++ b/makefu/2configs/dcpp/airdcpp.nix
@@ -1,6 +1,6 @@
{ config, ... }:
{
- makefu.airdcpp = {
+ krebs.airdcpp = {
enable = true;
extraGroups = [ "download" ];
web.port = 5600;
@@ -14,8 +14,8 @@
dcpp = {
shares = {
# Incoming must be writeable!
- incoming = { path = config.makefu.dl-dir + "/dcpp"; incoming = true; };
- audiobooks.path = config.makefu.dl-dir + "/audiobooks";
+ incoming = { path = config.makefu.dl-dir + "/finished/dcpp"; incoming = true; };
+ audiobooks.path = config.makefu.dl-dir + "/finished/audiobooks";
};
Nick = "makefu";
DownloadSpeed = "1000";
@@ -23,13 +23,13 @@
};
};
networking.firewall.allowedTCPPorts =
- [ config.makefu.airdcpp.dcpp.InPort
- config.makefu.airdcpp.dcpp.TLSPort
+ [ config.krebs.airdcpp.dcpp.InPort
+ config.krebs.airdcpp.dcpp.TLSPort
];
- networking.firewall.allowedUDPPorts = [ config.makefu.airdcpp.dcpp.UDPPort ];
+ networking.firewall.allowedUDPPorts = [ config.krebs.airdcpp.dcpp.UDPPort ];
services.nginx.virtualHosts."dcpp.${config.krebs.build.host.name}.r".locations."/" =
- { proxyPass = "http://localhost:${toString config.makefu.airdcpp.web.port}/";
+ { proxyPass = "http://localhost:${toString config.krebs.airdcpp.web.port}/";
extraConfig = ''
proxy_set_header Host $host;