foundry: use sops

This commit is contained in:
notohh 2023-05-14 01:48:33 -04:00
parent 055557335b
commit 1b7aafd9a9
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,4 +1,4 @@
{...}: { {inputs, ...}: {
virtualisation.oci-containers.containers.foundryvtt = { virtualisation.oci-containers.containers.foundryvtt = {
image = "felddy/foundryvtt:release"; image = "felddy/foundryvtt:release";
ports = ["30000:30000"]; ports = ["30000:30000"];
@ -6,8 +6,8 @@
"/home/notoh/docker/foundryvtt:/data" "/home/notoh/docker/foundryvtt:/data"
]; ];
environment = { environment = {
FOUNDRY_USERNAME = ""; FOUNDRY_USERNAME = inputs.sops.secrets.foundry-username;
FOUNDRY_PASSWORD = ""; FOUNDRY_PASSWORD = inputs.sops.secrets.foundry-password;
}; };
}; };
} }