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 = {
image = "felddy/foundryvtt:release";
ports = ["30000:30000"];
@ -6,8 +6,8 @@
"/home/notoh/docker/foundryvtt:/data"
];
environment = {
FOUNDRY_USERNAME = "";
FOUNDRY_PASSWORD = "";
FOUNDRY_USERNAME = inputs.sops.secrets.foundry-username;
FOUNDRY_PASSWORD = inputs.sops.secrets.foundry-password;
};
};
}