1
Fork 0
satellite/secrets.nix

16 lines
660 B
Nix

let
adrielus_tethys = builtins.readFile ./hosts/nixos/tethys/id_ed25519.pub;
tethys = builtins.readFile ./hosts/nixos/tethys/ssh_host_ed25519_key.pub;
lapetus = builtins.readFile ./hosts/nixos/lapetus/ssh_host_ed25519_key.pub;
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
# TODO: move this into `pass`.
"./home/features/desktop/wakatime/wakatime_config.age".publicKeys = [ adrielus_tethys ];
}