Fix the sops file location hopefully

This commit is contained in:
Lillian Violet 2024-01-04 22:27:42 +01:00
parent 74e53e5925
commit 23cf7cbd6d

View file

@ -3,8 +3,8 @@
pkgs, pkgs,
... ...
}: { }: {
sops.secrets."nextcloudadmin".mode = "0440"; sops.secrets."wg-private".mode = "0440";
sops.secrets."nextcloudadmin".owner = config.users.users.aria2.name; sops.secrets."wg-private".owner = config.users.users.aria2.name;
containers.aria2 = { containers.aria2 = {
forwardPorts = { forwardPorts = {
hostPort = 6969; hostPort = 6969;
@ -16,7 +16,7 @@
isReadOnly = false; isReadOnly = false;
}; };
"/var/lib/wg/private-key" = { "/var/lib/wg/private-key" = {
hostPath = sops.secrets."nextcloudadmin".path; hostPath = config.sops.secrets."wg-private".path;
isReadOnly = true; isReadOnly = true;
}; };
}; };