From 3d016e470fe55fa16bfc6f705c88b2e98aab8ef7 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 21 Aug 2016 12:06:31 +0200 Subject: [PATCH] m 1 *: add torrent --- 1systems/gum.nix | 2 +- 1systems/shoney.nix | 1 + 1systems/wry.nix | 5 +++-- 1systems/x.nix | 7 +++++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/1systems/gum.nix b/1systems/gum.nix index a4e2d17..0d8ac00 100644 --- a/1systems/gum.nix +++ b/1systems/gum.nix @@ -21,9 +21,9 @@ in { ../2configs/exim-retiolum.nix ../2configs/tinc/retiolum.nix ../2configs/urlwatch.nix + ../2configs/torrent.nix ]; - services.smartd.devices = [ { device = "/dev/sda";} ]; ###### stable diff --git a/1systems/shoney.nix b/1systems/shoney.nix index 7081f6a..1c5d235 100644 --- a/1systems/shoney.nix +++ b/1systems/shoney.nix @@ -14,6 +14,7 @@ in { ../2configs/hw/CAC.nix ../2configs/fs/CAC-CentOS-7-64bit.nix ../2configs/tinc/retiolum.nix + ../2configs/torrent.nix ]; diff --git a/1systems/wry.nix b/1systems/wry.nix index 3764ab4..81cd362 100644 --- a/1systems/wry.nix +++ b/1systems/wry.nix @@ -24,9 +24,10 @@ in { ../2configs/nginx/euer.test.nix # collectd - ../2configs/collectd/collectd-base.nix + # ../2configs/collectd/collectd-base.nix ../2configs/tinc/retiolum.nix + ../2configs/torrent.nix ]; krebs.build.host = config.krebs.hosts.wry; @@ -83,5 +84,5 @@ in { nameservers = [ "8.8.8.8" ]; }; - environment.systemPackages = [ ]; + environment.systemPackages = [ pkgs.screen ]; } diff --git a/1systems/x.nix b/1systems/x.nix index 2d6923c..4829aaa 100644 --- a/1systems/x.nix +++ b/1systems/x.nix @@ -42,10 +42,13 @@ ../2configs/tinc/retiolum.nix # temporary modules ../2configs/temp/share-samba.nix - # ../2configs/temp/elkstack.nix + ../2configs/temp/elkstack.nix # ../2configs/temp/sabnzbd.nix ../2configs/tinc/siem.nix + ../2configs/torrent.nix ]; + makefu.full-populate = true; + makefu.deluge.web.enable = true; krebs.nginx = { default404 = false; servers.default.listen = [ "80 default_server" ]; @@ -58,7 +61,7 @@ # configure pulseAudio to provide a HDMI sink as well networking.firewall.enable = true; - networking.firewall.allowedTCPPorts = [ 80 24800 26061 ]; + networking.firewall.allowedTCPPorts = [ 80 24800 26061 8000 ]; networking.firewall.allowedUDPPorts = [ 665 26061 ]; krebs.build.host = config.krebs.hosts.x;