summaryrefslogtreecommitdiff
path: root/secrets/secrets.nix
diff options
context:
space:
mode:
Diffstat (limited to 'secrets/secrets.nix')
-rw-r--r--secrets/secrets.nix5
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;