config/secrets/secrets.nix

17 lines
840 B
Nix
Raw Normal View History

2022-02-05 21:42:36 +02:00
let
max = (import ../users/max/userinfo.nix null).sshKeys;
hosts = import ../hosts;
systemKeys = x: x.ssh.id.publicKey or null;
in with hosts;
{
"builder_key.age".publicKeys = max ++ map systemKeys [ TITAN jericho ];
"attic-upload-key.age".publicKeys = max ++ map systemKeys [ TITAN ];
2022-02-05 21:42:36 +02:00
"hyprspace-key-TITAN.age".publicKeys = max ++ map systemKeys [ TITAN ];
"hyprspace-key-jericho.age".publicKeys = max ++ map systemKeys [ jericho ];
2022-10-22 03:36:48 +03:00
"ipfs-cluster-secret.age".publicKeys = max ++ map systemKeys [ TITAN ];
2022-02-05 21:42:36 +02:00
"transmission-rpc-password.age".publicKeys = max ++ map systemKeys [ TITAN ];
"wireguard-key-upload.age".publicKeys = max ++ map systemKeys [ TITAN ];
2023-01-13 00:54:00 +02:00
"secure-boot-private-key-jericho.age".publicKeys = max ++ map systemKeys [ jericho ];
2022-02-05 21:42:36 +02:00
"shadow-max.age".publicKeys = max ++ map systemKeys [ TITAN jericho ];
}