refactor(ops): Move owothia secret into agenix
Relates to b/161 Change-Id: I25445281b0dd3c3f3660f8bb0d8337506a1e427b
This commit is contained in:
parent
78744c00f5
commit
a123b9e0a2
4 changed files with 4 additions and 2 deletions
|
|
@ -209,6 +209,7 @@ in {
|
||||||
in {
|
in {
|
||||||
clbot.file = secretFile "clbot";
|
clbot.file = secretFile "clbot";
|
||||||
gerrit-queue.file = secretFile "gerrit-queue";
|
gerrit-queue.file = secretFile "gerrit-queue";
|
||||||
|
owothia.file = secretFile "owothia";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Automatically collect garbage from the Nix store.
|
# Automatically collect garbage from the Nix store.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ in {
|
||||||
secretsFile = lib.mkOption {
|
secretsFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "File path from which systemd should read secrets";
|
description = "File path from which systemd should read secrets";
|
||||||
default = "/etc/secrets/owothia";
|
default = "/run/agenix/owothia";
|
||||||
};
|
};
|
||||||
|
|
||||||
owoChance = lib.mkOption {
|
owoChance = lib.mkOption {
|
||||||
|
|
|
||||||
BIN
ops/secrets/owothia.age
Normal file
BIN
ops/secrets/owothia.age
Normal file
Binary file not shown.
|
|
@ -9,6 +9,7 @@ let
|
||||||
default.publicKeys = tazjin ++ [ whitby ];
|
default.publicKeys = tazjin ++ [ whitby ];
|
||||||
in {
|
in {
|
||||||
"besadii.age" = default;
|
"besadii.age" = default;
|
||||||
"gerrit-queue.age" = default;
|
|
||||||
"clbot.age" = default;
|
"clbot.age" = default;
|
||||||
|
"gerrit-queue.age" = default;
|
||||||
|
"owothia.age" = default;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue