dot_testing/boxes/netbox/agenix.nix

38 lines
762 B
Nix

{ machines, ... }:
{
age.secrets = {
gitea-postgres-password = {
file = ../../secrets/gitea-postgres-password.age;
mode = "0700";
owner = "gitea";
group = "gitea";
};
mailaccount = {
file = ../../secrets/mailaccount.age;
};
netbox-wg-priv = {
file = machines.netbox.wg-privkey;
};
radicale-passwd = {
file = ../../secrets/radicale-passwd.age;
owner = "radicale";
group = "radicale";
};
nextcloud-passwd = {
file = ../../secrets/nextcloud-admin-passwd.age;
owner = "nextcloud";
group = "nextcloud";
};
pcomon-secrets-file = {
file = ../../secrets/pcomon-secrets-file.age;
owner = "pcomon";
group = "pcomon";
};
};
}