deluge -> aria2
This commit is contained in:
parent
37a3dee02b
commit
392db1ecde
2 changed files with 7 additions and 8 deletions
|
|
@ -21,6 +21,8 @@
|
|||
homepage = { url = "github:baduhai/homepage"; flake = false; };
|
||||
|
||||
dotfiles = { url = "github:baduhai/dotfiles"; flake = false; };
|
||||
|
||||
webui-aria2 = { url = "github:ziahamza/webui-aria2"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, home-manager, nur, kmonad, nixpkgs-stable, home-manager-stable, deploy-rs, agenix, nixos-generators, homepage, dotfiles, ... }: {
|
||||
|
|
|
|||
|
|
@ -138,18 +138,15 @@
|
|||
locations."/".proxyPass = "http://127.0.0.1:9696";
|
||||
};
|
||||
|
||||
deluge = {
|
||||
aria2 = {
|
||||
enable = true;
|
||||
web.enable = true;
|
||||
group = "hosted";
|
||||
openFirewall = true;
|
||||
downloadDir = "/data/aria";
|
||||
};
|
||||
nginx.virtualHosts."deluge.baduhai.me" = {
|
||||
nginx.virtualHosts."aria2.baduhai.me" = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:8112";
|
||||
};
|
||||
root = "${inputs.webui-aria2}/docs"; };
|
||||
|
||||
n8n.enable = true;
|
||||
nginx.virtualHosts."n8n.baduhai.me" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue