diff options
Diffstat (limited to 'secrets/secrets.nix')
-rw-r--r-- | secrets/secrets.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 706d1db..3fb2dc0 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -1,9 +1,6 @@ let - kunagisa-user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWxS8tdN3j7Vm337RmJTzYTMbkAZN5g610ZesH4vhd8"; - hanekawa-user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOafACtb4IgSczDrollTm/t/xIYcVdLlUxDz72TxsZJZ"; - larissa-user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFQN59YDFwwQt/1rb1dHZnxsNV2geWUvHyTKqjdSA52"; - hosts-keys = builtins.attrValues (import ./hosts-pub-keys.nix); - keys = [ kunagisa-user hanekawa-user larissa-user] ++ hosts-keys; + inherit (builtins) attrValues concatLists; + keys = concatLists (map attrValues (attrValues (import ./pub-ssh-keys.nix))); in { "personal-mail.age".publicKeys = keys; |