1
Fork 0
satellite/secrets.nix

20 lines
866 B
Nix
Raw Normal View History

let
tethys = builtins.readFile ./hosts/nixos/tethys/keys/ssh_host_ed25519_key.pub;
lapetus = builtins.readFile ./hosts/nixos/lapetus/keys/ssh_host_ed25519_key.pub;
2023-07-18 16:30:04 +02:00
adrielus_tethys = builtins.readFile ./hosts/nixos/tethys/keys/id_ed25519.pub;
adrielus_lapetus = builtins.readFile ./hosts/nixos/lapetus/keys/id_ed25519.pub;
2023-07-18 16:30:04 +02:00
all_hosts = [ tethys lapetus ];
in
{
# Scoped for entire systems
"./hosts/nixos/common/global/wireless/wifi_passwords.age".publicKeys = all_hosts ++ [ adrielus_tethys ];
"./hosts/nixos/common/users/adrielus_password.age".publicKeys = all_hosts ++ [ adrielus_tethys ];
# Scoped for the user
2023-09-05 19:59:37 +02:00
# TODO: perhaps move this into `pass`?.
"./home/features/desktop/wakatime/wakatime_config.age".publicKeys = [ adrielus_tethys ];
2023-09-05 19:59:37 +02:00
"./home/features/cli/productivity/smos/smos_github_oauth.age".publicKeys = [ adrielus_tethys ];
}