Update configs to fix updates, and some minor tweaks

This commit is contained in:
Lillian Violet 2024-02-05 18:23:09 +01:00
parent 613807c83f
commit 5fb3e5ed7a
3 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,6 @@
{
inputs,
outputs,
config,
pkgs,
...
@ -7,9 +9,13 @@
users.groups.aria2 = {};
users.users.aria2.isSystemUser = true;
sops.secrets."rpcSecret".mode = "0440";
sops.secrets."rpcSecret".owner = config.users.users.aria2.name;
services.aria2 = {
enable = true;
downloadDir = "/var/lib/media";
rpcListenPort = 6969;
rpcSecretFile = config.sops.secrets."rpcSecret".path;
};
}