refactor(secrets): make secrets casing and declaration consistent

This commit is contained in:
Guz
2025-10-09 21:51:59 -03:00
parent 565afe9df8
commit 3eec62eb21
6 changed files with 59 additions and 66 deletions

View File

@@ -24,7 +24,7 @@ in {
METRICS_BIND_NETWORK = "tcp";
SERVE_ROBOTS_TXT = true;
TARGET = "http://localhost:${toString cfg.port}";
ED25519_PRIVATE_KEY_HEX_FILE = config.sops.secrets."medama/anubis/hexFile".path;
ED25519_PRIVATE_KEY_HEX_FILE = config.sops.secrets."anubis/medama/hex_file".path;
};
};

View File

@@ -104,7 +104,7 @@ in {
METRICS_BIND_NETWORK = "tcp";
SERVE_ROBOTS_TXT = true;
TARGET = "http://localhost:${toString cfg.settings.server.HTTP_PORT}";
ED25519_PRIVATE_KEY_HEX_FILE = config.sops.secrets."forgejo/anubis/hexFile".path;
ED25519_PRIVATE_KEY_HEX_FILE = config.sops.secrets."anubis/forgejo/hex_file".path;
};
};

View File

@@ -24,7 +24,7 @@ in {
services.keikos.web = {
enable = true;
port = 9910;
envFile = config.sops.secrets."keiko/env-file".path;
envFile = config.sops.secrets."keiko/env_file".path;
};
services.caddy.virtualHosts.":${toString (cfg-keikos.port + 1)}" = {
extraConfig = ''