diff options
author | Leonardo Santiago <[email protected]> | 2024-06-05 20:47:49 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-06-05 20:47:49 -0300 |
commit | df1c309606797a8ed2e41a6d85bb9987a0b8b01e (patch) | |
tree | 4a8a5c2253f4744f01e784c2b50d5f50c59d325b | |
parent | 484481ae89ca55c2aebefbd4bed29cd981fe0b90 (diff) |
add default user key to authorized keys
-rw-r--r-- | users/leonardo.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/leonardo.nix b/users/leonardo.nix index 91a80bf..10d9602 100644 --- a/users/leonardo.nix +++ b/users/leonardo.nix @@ -111,7 +111,7 @@ in extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.bashInteractive; hashedPasswordFile = config.age.secrets.user-pass.path; - openssh.authorizedKeys.keys = builtins.attrValues (hosts-pub-keys); + openssh.authorizedKeys.keys = [ (builtins.readFile ../secrets/user-ssh-key.pub)] ++ builtins.attrValues (hosts-pub-keys); }; age = { |