petersweb-infra/nixos/secrets/default.nix
2026-05-24 23:03:36 -08:00

20 lines
650 B
Nix

let
mainframePublicKey = builtins.readFile ../keys/mainframe.pub;
in {
# This .age file should contain the following environment variables:
# NEARLYFREESPEECH_API_KEY
# NEARLYFREESPEECH_LOGIN
"./nearlyfreespeech.age".publicKeys = [mainframePublicKey];
# WEBDAV_PASSWORD
"./webdav.age".publicKeys = [mainframePublicKey];
# ANTHROPIC_API_KEY
"./anthropic-api-key.age".publicKeys = [mainframePublicKey];
# POSTMARK_SERVER_TOKEN
"./postmark.age".publicKeys = [mainframePublicKey];
# Forgejo runner registration token (plain text token from Forgejo admin)
"./forgejo-runner-token.age".publicKeys = [mainframePublicKey];
}