deluge -> aria2
This commit is contained in:
parent
37a3dee02b
commit
392db1ecde
2 changed files with 7 additions and 8 deletions
|
|
@ -17,10 +17,12 @@
|
||||||
agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; };
|
agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||||
|
|
||||||
nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs-stable"; };
|
nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs-stable"; };
|
||||||
|
|
||||||
homepage = { url = "github:baduhai/homepage"; flake = false; };
|
homepage = { url = "github:baduhai/homepage"; flake = false; };
|
||||||
|
|
||||||
dotfiles = { url = "github:baduhai/dotfiles"; 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, ... }: {
|
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";
|
locations."/".proxyPass = "http://127.0.0.1:9696";
|
||||||
};
|
};
|
||||||
|
|
||||||
deluge = {
|
aria2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
web.enable = true;
|
downloadDir = "/data/aria";
|
||||||
group = "hosted";
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
};
|
||||||
nginx.virtualHosts."deluge.baduhai.me" = {
|
nginx.virtualHosts."aria2.baduhai.me" = {
|
||||||
useACMEHost = "baduhai.me";
|
useACMEHost = "baduhai.me";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations."/".proxyPass = "http://127.0.0.1:8112";
|
root = "${inputs.webui-aria2}/docs"; };
|
||||||
};
|
|
||||||
|
|
||||||
n8n.enable = true;
|
n8n.enable = true;
|
||||||
nginx.virtualHosts."n8n.baduhai.me" = {
|
nginx.virtualHosts."n8n.baduhai.me" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue