summaryrefslogblamecommitdiff
path: root/secrets/secrets.nix
blob: 838dd3c6845727487f576947524ef7c8a35e53c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
   

                                         
                                                                   

  
                                       



                                          
                                    
                                     
 
let
  inherit (builtins) attrValues readFile;
  user-key = readFile ./user-ssh-key.pub;
  keys = [ user-key ] ++ (attrValues (import ./host-pub-keys.nix));
in
{
  "user-ssh-key.age".publicKeys = keys;
  "personal-mail.age".publicKeys = keys;
  "work-mail.age".publicKeys = keys;
  "university-mail.age".publicKeys = keys;
  "authinfo.age".publicKeys = keys;
  "user-pass.age".publicKeys = keys;
  "cloudflare.age".publicKeys = keys;
}