From a689d23a8e38d9c1f121a3be917aceaa65859235 Mon Sep 17 00:00:00 2001 From: mikl Date: Sat, 4 Jul 2026 00:51:00 +0300 Subject: [PATCH] ssh: use single 'poppy' key for all hosts (others don't exist yet) --- home/ssh.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/home/ssh.nix b/home/ssh.nix index 36e719b..aa33a4b 100644 --- a/home/ssh.nix +++ b/home/ssh.nix @@ -1,26 +1,26 @@ { ... }: { - # SSH client configuration with host-specific keys + # SSH client configuration + # TEMP: using single key 'poppy' for all hosts - create host-specific keys later programs.ssh = { enable = true; matchBlocks = { - # Forgejo (personal) — port 2222 + # All git forges use the same key for now + "git.*" = { + identityFile = "~/.ssh/poppy"; + identitiesOnly = true; + addKeysToAgent = "yes"; + }; + + # Specific hosts (port override for forgejo) "git.iscg.dev" = { - identityFile = "~/.ssh/id_ed25519_forgejo"; + identityFile = "~/.ssh/poppy"; port = 2222; identitiesOnly = true; addKeysToAgent = "yes"; }; - # GitHub - "github.com" = { - identityFile = "~/.ssh/id_ed25519"; - identitiesOnly = true; - addKeysToAgent = "yes"; - }; - - # git.sol.moe "git.sol.moe" = { identityFile = "~/.ssh/poppy"; user = "mikl";