dotfiles/secrets/secrets.nix

25 lines
1 KiB
Nix
Raw Normal View History

2021-09-14 13:12:34 +02:00
let
2022-07-15 13:11:54 +02:00
moritz = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGoAqa2m7hIzZ2LS96Z+RCIlRvhBM/j7h27tMBCwMT+a";
2022-08-31 12:32:48 +02:00
moritz-work = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAJL7tPbKxru90fYSy1+WkkVKtP88dRbVP7M2fEavdqJ";
users = [ moritz moritz-work ];
2022-07-15 13:11:54 +02:00
nixos-laptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhtwHDGAZshiQWKkCcPWV9tC83b+bKBgjDcjP/N2CKO";
nixos-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKl8gMhwSf1NsP5gp14xbbyjqQLZzcHLb/XKRMoHdXgI";
2022-08-31 12:32:48 +02:00
nixos-work = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGQdruRBgcS3JbX+8DP4GE+28M/ZnxqxhoaMM5EVUkrD";
2023-05-16 12:13:20 +02:00
hosts-personal = [ nixos-laptop nixos-desktop ];
hosts = hosts-personal ++ [ nixos-work ];
2022-08-31 12:32:48 +02:00
all = users ++ hosts;
2022-07-15 13:11:54 +02:00
in
{
2022-11-03 21:03:36 +01:00
"github.age".publicKeys = all;
2022-08-31 12:32:48 +02:00
"nordvpn.age".publicKeys = all;
"spotifyd.age".publicKeys = all;
2022-11-03 21:03:36 +01:00
"ssh-home.age".publicKeys = all;
2022-08-31 12:32:48 +02:00
"uni-vpn.age".publicKeys = all;
2023-02-24 12:08:29 +01:00
"wireguard-preshared-key.age".publicKeys = all;
"wireguard-private-key.age".publicKeys = all;
2023-05-16 12:13:20 +02:00
"webis.age".publicKeys = hosts-personal ++ [ moritz ];
"webis-ssh.age".publicKeys = hosts-personal ++ [ moritz ];
2021-09-14 13:12:34 +02:00
}