From af03f196382e8b8757b489e9bb4903e3054ff0ec Mon Sep 17 00:00:00 2001 From: Louis Pearson Date: Mon, 8 Jan 2024 21:05:21 -0700 Subject: [PATCH] feat: remove deluge, add aria --- configuration.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index 36b0913..aa73580 100644 --- a/configuration.nix +++ b/configuration.nix @@ -98,11 +98,12 @@ services.jellyfin.enable = true; - services.deluge = { + services.aria2 = { enable = true; - web.enable = true; # port 8112 - declarative = true; - authFile = "/run/key/deluge-auth"; + downloadDir = "/zroot/downloads/"; + # extraArguments = "--rpc-listen-all"; + # rpcListenPort = 6800; # 6800 is the default + # rpcSecret = "aria2rpc"; }; services.kavita = { @@ -454,9 +455,10 @@ reverse_proxy localhost:5000 ''; - virtualHosts."deluge.samsehu.perli.casa".extraConfig = '' - bind 100.64.0.3 192.168.0.69 - reverse_proxy localhost:8112 + virtualHosts."aria.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 + root ${pkgs.ariang}/share/ariang + file_server ''; }; @@ -487,7 +489,7 @@ { name = "dex.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "jellyfin.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "kavita.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } - { name = "deluge.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } + { name = "aria.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } ]; };