diff options
author | Leonardo Santiago <[email protected]> | 2024-06-05 18:54:36 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-06-05 18:54:36 -0300 |
commit | 1e90166600d0be1c4178a3a721790fca5ac2c88a (patch) | |
tree | df409e193007cb5adc628078895eb132b19de6aa /secrets/secrets.nix | |
parent | 2af6761a8cacab8f421f1ce4043cc5f998f30192 (diff) |
add ssh automatic signing through ssh
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; |