From a8fb2c16a0025ff17944eab1c117f4dcbb0982c0 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 4 Jan 2024 22:30:38 +0100 Subject: [PATCH] Create aria2 user since it's containerised now --- nixos/server/package-configs/aria2/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/server/package-configs/aria2/configuration.nix b/nixos/server/package-configs/aria2/configuration.nix index 33c332d..9cad877 100644 --- a/nixos/server/package-configs/aria2/configuration.nix +++ b/nixos/server/package-configs/aria2/configuration.nix @@ -3,6 +3,10 @@ pkgs, ... }: { + users.users.aria2.group = "aria2"; + users.groups.aria2 = {}; + users.users.aria2.isSystemUser = true; + sops.secrets."wg-private".mode = "0440"; sops.secrets."wg-private".owner = config.users.users.aria2.name; containers.aria2 = {