Correct secret name.

This commit is contained in:
Joseph Hanson 2024-04-30 17:07:12 -05:00
parent 5a8c6f6be2
commit b37923b5d9
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -21,7 +21,7 @@
owner = config.users.users.named.name; owner = config.users.users.named.name;
inherit (config.users.users.named) group; inherit (config.users.users.named) group;
}; };
"onepassword-connect-json" = { "onepassword-credentials-json" = {
owner = config.users.users.onepassword-connect.name; owner = config.users.users.onepassword-connect.name;
inherit (config.users.users.onepassword-connect) group; inherit (config.users.users.onepassword-connect) group;
}; };
@ -165,7 +165,7 @@
ports = [ "8080:8080" ]; ports = [ "8080:8080" ];
user = "onepassword:onepassword-connect"; user = "onepassword:onepassword-connect";
volumes = [ volumes = [
"${config.sops.secrets."onepassword-connect-json".path}:/home/opuser/.op/1password-credentials.json" "${config.sops.secrets."onepassword-credentials-json".path}:/home/opuser/.op/1password-credentials.json"
"/var/lib/onepassword-connect:/home/opuser/.op/data" "/var/lib/onepassword-connect:/home/opuser/.op/data"
]; ];
}; };
@ -176,7 +176,7 @@
ports = [ "8081:8080" ]; ports = [ "8081:8080" ];
user = "onepassword:onepassword-connect"; user = "onepassword:onepassword-connect";
volumes = [ volumes = [
"${config.sops.secrets."onepassword-connect-json".path}:/home/opuser/.op/1password-credentials.json" "${config.sops.secrets."onepassword-credentials-json".path}:/home/opuser/.op/1password-credentials.json"
"/var/lib/onepassword-connect:/home/opuser/.op/data" "/var/lib/onepassword-connect:/home/opuser/.op/data"
]; ];
}; };