summaryrefslogtreecommitdiff
path: root/hosts/ahmed/git.linus.onl/default.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-03-25 12:50:29 +0100
committerLinnnus <[email protected]>2025-03-25 12:50:29 +0100
commite26a65beca905cf44e1b02633f67d213ae3a84b6 (patch)
tree093874542e1a473ca2fc90f01e1a97e30044ed9c /hosts/ahmed/git.linus.onl/default.nix
parent65941bf84c62a02a97c68e5f67851f355309c1e2 (diff)
Refactor metadata.toml
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 = {};