move secrets back a folder again

This commit is contained in:
Noa Aarts 2024-10-22 09:16:27 +02:00
parent 4747eb5d2d
commit 5fc7d9d957
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -138,10 +138,10 @@
age = { age = {
identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ]; identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ];
secrets = { secrets = {
"token-flurry".file = ../../secrets/github/flurry.age; "secrets/token-flurry".file = ../../secrets/github/flurry.age;
"token-nixconf".file = ../../secrets/github/nixconf.age; "secrets/token-nixconf".file = ../../secrets/github/nixconf.age;
"nix-store-key".file = ../../secrets/nix-serve/private.age; "secrets/nix-store-key".file = ../../secrets/nix-serve/private.age;
"radicale" = { "secrets/radicale" = {
file = ../../secrets/radicale/htpasswd.age; file = ../../secrets/radicale/htpasswd.age;
owner = "radicale"; owner = "radicale";
group = "radicale"; group = "radicale";
@ -153,7 +153,7 @@
nix-serve = { nix-serve = {
enable = true; enable = true;
package = pkgs.nix-serve-ng; package = pkgs.nix-serve-ng;
secretKeyFile = config.age.secrets."nix-store-key".path; secretKeyFile = config.age.secrets."secrets/nix-store-key".path;
port = 22332; port = 22332;
}; };
github-runners = { github-runners = {
@ -164,7 +164,7 @@
curl curl
]; ];
name = "flurry-runner"; name = "flurry-runner";
tokenFile = config.age.secrets."token-flurry".path; tokenFile = config.age.secrets."secrets/token-flurry".path;
url = "https://github.com/itepastra/flurry"; url = "https://github.com/itepastra/flurry";
}; };
}; };
@ -179,7 +179,7 @@
server.hosts = [ "[::1]:29341" ]; server.hosts = [ "[::1]:29341" ];
auth = { auth = {
type = "htpasswd"; type = "htpasswd";
htpasswd_filename = config.age.secrets."radicale".path; htpasswd_filename = config.age.secrets."secrets/radicale".path;
htpasswd_encryption = "bcrypt"; htpasswd_encryption = "bcrypt";
}; };
}; };