refactor(ops): Move panettone secrets to agenix

Relates to b/161

Change-Id: I508e5a0eacab668f4bd39a2c888d894b96bed093
This commit is contained in:
Vincent Ambo 2021-12-10 23:19:56 +03:00
parent 2b9be81ea0
commit 2f1c654c14
3 changed files with 4 additions and 2 deletions

View file

@ -211,8 +211,9 @@ in {
gerrit-queue.file = secretFile "gerrit-queue";
grafana.file = secretFile "grafana";
irccat.file = secretFile "irccat";
owothia.file = secretFile "owothia";
nix-cache-priv.file = secretFile "nix-cache-priv";
owothia.file = secretFile "owothia";
panettone.file = secretFile "panettone";
buildkite-agent-token = {
file = secretFile "buildkite-agent-token";
@ -335,7 +336,6 @@ in {
enable = true;
dbUser = "panettone";
dbName = "panettone";
secretsFile = "/etc/secrets/panettone";
irccatChannel = "#tvl";
};

View file

@ -36,6 +36,7 @@ in {
by systemd's EnvironmentFile
'';
type = types.str;
default = "/run/agenix/panettone";
};
irccatHost = mkOption {

View file

@ -23,4 +23,5 @@ in {
"nix-cache-priv.age" = default;
"nix-cache-pub.age" = default;
"owothia.age" = default;
"panettone.age" = default;
}