summaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
blob: 34fd87bb3c77399ab7a45d5a86774f718defa576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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];
  "forsvarsarper.env.age".publicKeys = [muhammedKey ahmedKey];
  "mullvad-wg.key.age".publicKeys = [muhammedKey ahmedKey];
}