refactor(ops): Move owothia secret into agenix

Relates to b/161

Change-Id: I25445281b0dd3c3f3660f8bb0d8337506a1e427b
This commit is contained in:
Vincent Ambo 2021-12-10 10:24:49 +03:00
parent 78744c00f5
commit a123b9e0a2
4 changed files with 4 additions and 2 deletions

View file

@ -209,6 +209,7 @@ in {
in {
clbot.file = secretFile "clbot";
gerrit-queue.file = secretFile "gerrit-queue";
owothia.file = secretFile "owothia";
};
# Automatically collect garbage from the Nix store.

View file

@ -11,7 +11,7 @@ in {
secretsFile = lib.mkOption {
type = lib.types.str;
description = "File path from which systemd should read secrets";
default = "/etc/secrets/owothia";
default = "/run/agenix/owothia";
};
owoChance = lib.mkOption {

BIN
ops/secrets/owothia.age Normal file

Binary file not shown.

View file

@ -9,6 +9,7 @@ let
default.publicKeys = tazjin ++ [ whitby ];
in {
"besadii.age" = default;
"gerrit-queue.age" = default;
"clbot.age" = default;
"gerrit-queue.age" = default;
"owothia.age" = default;
}