summaryrefslogtreecommitdiff
path: root/hosts/ahmed/git.linus.onl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ahmed/git.linus.onl/default.nix')
-rw-r--r--hosts/ahmed/git.linus.onl/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/ahmed/git.linus.onl/default.nix b/hosts/ahmed/git.linus.onl/default.nix
index be62efa..24eda7f 100644
--- a/hosts/ahmed/git.linus.onl/default.nix
+++ b/hosts/ahmed/git.linus.onl/default.nix
@@ -35,7 +35,8 @@ in {
openssh.authorizedKeys.keys =
map (key: "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ${key}")
[
- metadata.hosts.muhammed.sshPubKey
+ # The user's own SSH key is used when the Git CLI connects to the server.
+ metadata.hosts.muhammed.sshKeys.linus
];
};
users.groups.git = {};