Rename some secrets

This commit is contained in:
William 2023-07-26 17:00:20 -03:00
parent a36c3c3a29
commit 8bb77005b3
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
configureRedis = true;
https = true;
autoUpdateApps.enable = true;
secretFile = config.age.secrets.nextcloud-secrets.path;
secretFile = config.age.secrets."nextcloud-secrets.json".path;
database.createLocally = true;
caching = {
apcu = true;
@ -32,7 +32,7 @@
};
age.secrets = {
nextcloud-secrets = {
"nextcloud-secrets.json" = {
file = ../../../secrets/nextcloud-secrets.json.age;
owner = "nextcloud";
group = "hosted";

View file

@ -5,7 +5,7 @@
image = "docker.io/mxpv/podsync:latest";
environment = { TZ = "America/Bahia"; };
ports = [ "${config.ports.podsync}:80" ];
volumes = [ "${config.age.secrets.podsync.path}:/app/config.toml" ];
volumes = [ "${config.age.secrets."podsync.toml".path}:/app/config.toml" ];
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
};
@ -16,5 +16,5 @@
locations."/".proxyPass = "http://127.0.0.1:${config.ports.podsync}";
};
age.secrets.podsync.file = ../../../secrets/podsync.toml.age;
age.secrets."podsync.toml".file = ../../../secrets/podsync.toml.age;
}