2023-01-10 16:05:48 +01:00
|
|
|
let
|
2023-08-17 09:31:46 +02:00
|
|
|
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
|
|
|
|
2023-08-17 09:31:46 +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
|
|
|
|
2023-07-18 14:31:02 +02:00
|
|
|
all_hosts = [ tethys lapetus ];
|
2023-01-10 16:05:48 +01:00
|
|
|
in
|
|
|
|
{
|
2023-01-12 20:49:08 +01:00
|
|
|
# Scoped for entire systems
|
2023-07-18 14:31:02 +02:00
|
|
|
"./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 ];
|
2023-01-12 20:49:08 +01:00
|
|
|
|
|
|
|
# Scoped for the user
|
2023-07-18 14:31:02 +02:00
|
|
|
# TODO: move this into `pass`.
|
|
|
|
"./home/features/desktop/wakatime/wakatime_config.age".publicKeys = [ adrielus_tethys ];
|
2023-01-10 16:05:48 +01:00
|
|
|
}
|