From 23cf7cbd6dcb6c02918736ceced750ab06435fc2 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 4 Jan 2024 22:27:42 +0100 Subject: [PATCH] Fix the sops file location hopefully --- nixos/server/package-configs/aria2/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/server/package-configs/aria2/configuration.nix b/nixos/server/package-configs/aria2/configuration.nix index dd7fb5d..bb023e5 100644 --- a/nixos/server/package-configs/aria2/configuration.nix +++ b/nixos/server/package-configs/aria2/configuration.nix @@ -3,8 +3,8 @@ pkgs, ... }: { - sops.secrets."nextcloudadmin".mode = "0440"; - sops.secrets."nextcloudadmin".owner = config.users.users.aria2.name; + sops.secrets."wg-private".mode = "0440"; + sops.secrets."wg-private".owner = config.users.users.aria2.name; containers.aria2 = { forwardPorts = { hostPort = 6969; @@ -16,7 +16,7 @@ isReadOnly = false; }; "/var/lib/wg/private-key" = { - hostPath = sops.secrets."nextcloudadmin".path; + hostPath = config.sops.secrets."wg-private".path; isReadOnly = true; }; };