summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-06-05 20:47:49 -0300
committerLeonardo Santiago <[email protected]>2024-06-05 20:47:49 -0300
commitdf1c309606797a8ed2e41a6d85bb9987a0b8b01e (patch)
tree4a8a5c2253f4744f01e784c2b50d5f50c59d325b /users
parent484481ae89ca55c2aebefbd4bed29cd981fe0b90 (diff)
add default user key to authorized keys
Diffstat (limited to 'users')
-rw-r--r--users/leonardo.nix2
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 = {