diff options
author | Leonardo Santiago <[email protected]> | 2024-06-05 19:40:20 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-06-05 19:40:47 -0300 |
commit | f2c7a26d2c2f9b1be8b156fe91cbb80e998b9281 (patch) | |
tree | f450854ede0aa26d5d2c22ce3ab81849dcd10c02 /secrets/secrets.nix | |
parent | 1e90166600d0be1c4178a3a721790fca5ac2c88a (diff) |
deploy same user key for all hosts, use that key to sign commit
Diffstat (limited to 'secrets/secrets.nix')
-rw-r--r-- | secrets/secrets.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 3fb2dc0..56f372e 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -1,6 +1,7 @@ let - inherit (builtins) attrValues concatLists; - keys = concatLists (map attrValues (attrValues (import ./pub-ssh-keys.nix))); + inherit (builtins) attrValues readFile; + user-key = readFile ./user-ssh-key.pub; + keys = [ user-key ] ++ (attrValues (import ./pub-ssh-keys.nix)); in { "personal-mail.age".publicKeys = keys; |