From 41c433183427bb878be36c9609d9b0354ae7f425 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 25 Sep 2019 15:11:14 +0200 Subject: ma gum: move sickbeard to 2configs, update shares, disable events-publisher --- makefu/1systems/gum/config.nix | 32 ++++++++++---------------------- makefu/1systems/gum/hardware-config.nix | 5 +++++ 2 files changed, 15 insertions(+), 22 deletions(-) (limited to 'makefu/1systems/gum') diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix index 15e9965e2..3b084d35a 100644 --- a/makefu/1systems/gum/config.nix +++ b/makefu/1systems/gum/config.nix @@ -81,7 +81,7 @@ in { # ci # - + # @@ -90,30 +90,12 @@ in { # services # - { - krebs.exim.enable = mkForce false; - } + { krebs.exim.enable = mkForce false; } # sharing - { services.sickbeard = { - enable = true; - package = pkgs.sickgear; - user = "sickbeard"; - group = "download"; - port = 8280; - }; - services.nginx.virtualHosts."sick.makefu.r" = { - locations."/".proxyPass = http://localhost:8280; - extraConfig = '' - if ( $server_addr = "${external-ip}" ) { - return 403; - } - ''; - }; - users.users.sickbeard.extraGroups = [ "nginx" ]; - } + { nixpkgs.config.allowUnfree = true; } # @@ -121,7 +103,6 @@ in { # # - ## network @@ -154,6 +135,8 @@ in { + + @@ -162,6 +145,11 @@ in { # sharing + { krebs.airdcpp.dcpp.shares = { + download.path = config.makefu.dl-dir + "/finished"; + sorted.path = config.makefu.dl-dir + "/sorted"; + }; + } ## Temporary: diff --git a/makefu/1systems/gum/hardware-config.nix b/makefu/1systems/gum/hardware-config.nix index e49b621e7..2d7efe9cf 100644 --- a/makefu/1systems/gum/hardware-config.nix +++ b/makefu/1systems/gum/hardware-config.nix @@ -69,6 +69,11 @@ in { fsType = "ext4"; options = [ "nofail" ]; }; + fileSystems."/var/www/o.euer.krebsco.de" = { + device = "/dev/nixos/nextcloud"; + fsType = "ext4"; + options = [ "nofail" ]; + }; fileSystems."/var/lib/borgbackup" = { device = "/dev/nixos/backup"; fsType = "ext4"; -- cgit v1.2.3