summaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
blob: 56f372e677b8d1849af18ba46cb66832ac55d047 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let
  inherit (builtins) attrValues readFile;
  user-key = readFile ./user-ssh-key.pub;
  keys = [ user-key ] ++ (attrValues (import ./pub-ssh-keys.nix));
in
{
  "personal-mail.age".publicKeys = keys;
  "work-mail.age".publicKeys = keys;
  "university-mail.age".publicKeys = keys;
  "authinfo.age".publicKeys = keys;
  "user-pass.age".publicKeys = keys;
}