summaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
blob: a747bcbb687c8a3512686586262a9d2da9019c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This file conatins configuration for the agenix CLI. It is not actually
# imported into the system cofniguration.
let
  metadata = builtins.fromTOML (builtins.readFile ../metadata.toml);
  ahmedKey = metadata.hosts.ahmed.sshPubKey;
  muhammedKey = metadata.hosts.muhammed.sshPubKey;
in {
  "cloudflare-ddns-token.env.age".publicKeys = [muhammedKey ahmedKey];
  "duksebot.env.age".publicKeys = [muhammedKey ahmedKey];
  "mullvad-wg.key.age".publicKeys = [muhammedKey ahmedKey];
  "wraaath-sftp-password.txt.age".publicKeys = [muhammedKey ahmedKey];
  "linus.onl-github-secret.txt.age".publicKeys = [muhammedKey ahmedKey];
}