dotfiles/secrets/secrets.nix

33 lines
1.4 KiB
Nix
Raw Permalink 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-07-21 11:23:52 +02:00
scadspc25 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3i/+siSLZmbW/8uM1LCpmR4ErCtS9zdS4aDDSfCESC";
2023-05-16 12:13:20 +02:00
hosts-personal = [ nixos-laptop nixos-desktop ];
2023-07-21 11:23:52 +02:00
hosts-work = [ nixos-work scadspc25 ];
hosts = hosts-personal ++ hosts-work;
2022-08-31 12:32:48 +02:00
2023-08-28 20:09:39 +02:00
personal = [ moritz ] ++ hosts-personal;
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;
2023-08-28 20:09:39 +02:00
"ssh-home.age".publicKeys = personal;
"uni-vpn.age".publicKeys = personal;
"wireguard-preshared-key.age".publicKeys = personal;
"wireguard-private-key.age".publicKeys = personal;
2023-07-21 11:23:52 +02:00
"webis.age".publicKeys = hosts-personal ++ [ scadspc25 moritz ];
"webis-ssh.age".publicKeys = hosts-personal ++ [ scadspc25 moritz ];
2024-02-03 20:49:24 +01:00
"root-password.age".publicKeys = personal;
"moritz-password.age".publicKeys = personal;
"exercism.age".publicKeys = personal;
"openai.age".publicKeys = personal;
2024-10-24 14:46:22 +02:00
"anthropic.age".publicKeys = personal;
2024-10-25 11:16:29 +02:00
"nix-github-token.age".publicKeys = personal;
2021-09-14 13:12:34 +02:00
}