sops: move secrets to specific services
This commit is contained in:
parent
a886511ca0
commit
d714b3cdae
3 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,6 @@
|
||||||
{config, ...}: {
|
{...}: {
|
||||||
|
sops.secrets.foundry-username = {};
|
||||||
|
sops.secrets.foundry-password = {};
|
||||||
virtualisation.oci-containers.containers.foundryvtt = {
|
virtualisation.oci-containers.containers.foundryvtt = {
|
||||||
image = "felddy/foundryvtt:release";
|
image = "felddy/foundryvtt:release";
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
|
sops.secrets.cloudflare-api-key = {};
|
||||||
networking.firewall.allowedTCPPorts = [80 443 8080];
|
networking.firewall.allowedTCPPorts = [80 443 8080];
|
||||||
|
|
||||||
systemd.user.services.traefik.after = ["docker.service"];
|
systemd.user.services.traefik.after = ["docker.service"];
|
||||||
systemd.services.traefik = {
|
systemd.services.traefik = {
|
||||||
environment = {
|
environment = {
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{config, ...}: {
|
{...}: {
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ../secrets/secrets.yaml;
|
defaultSopsFile = ../secrets/secrets.yaml;
|
||||||
age.keyFile = "/home/notoh/.config/sops/age/keys.txt";
|
age.keyFile = "/home/notoh/.config/sops/age/keys.txt";
|
||||||
secrets.foundry-username = {};
|
|
||||||
secrets.foundry-password = {};
|
|
||||||
secrets.cloudflare-api-key = {};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue