Try and fix the aria2 situation
This commit is contained in:
parent
b280f8d9a5
commit
84899440ed
5 changed files with 35 additions and 3 deletions
25
nixos/package-configs/aria2/configuration.nix
Normal file
25
nixos/package-configs/aria2/configuration.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
users.users = {
|
||||
aria2.extraGroups = ["jellyfin" "nextcloud"];
|
||||
};
|
||||
services.aria2 = {
|
||||
enable = true;
|
||||
downloadDir = "/var/lib/media";
|
||||
};
|
||||
|
||||
# services.nginx = {
|
||||
# virtualHosts = {
|
||||
# "aria2.gladtherescake.eu" = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://localhost:6800";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue