[chore] SSH config fixes for nixbox.

This commit is contained in:
jmug
2026-03-01 13:48:50 -08:00
parent 4c27fde75b
commit 7822bf6ff8
+4 -10
View File
@@ -146,7 +146,7 @@ in {
services.ssh-agent.enable = true;
programs.ssh = {
enable = true;
addKeysToAgent = "confirm";
enableDefaultConfig = false;
matchBlocks = {
"git" = {
host = "github.com";
@@ -155,6 +155,7 @@ in {
"/home/jmug/.ssh/id_yubikey" # Auto updated symlik that matches all yubikeys.
"/home/jmug/.ssh/id_jmug" # Fallback key with passphrase.
];
addKeysToAgent = "yes";
};
"forgejo" = {
host = "code.jmug.me";
@@ -163,6 +164,7 @@ in {
"/home/jmug/.ssh/id_yubikey" # Auto updated symlik that matches all yubikeys.
"/home/jmug/.ssh/id_jmug" # Fallback key with passphrase.
];
addKeysToAgent = "yes";
};
"tailscale-jmug" = {
user = "jmug";
@@ -171,17 +173,9 @@ in {
"/home/jmug/.ssh/id_yubikey" # Auto updated symlik that matches all yubikeys.
"/home/jmug/.ssh/id_jmug" # Fallback key with passphrase.
];
addKeysToAgent = "yes";
};
};
# matchBlocks = {
# ws = {
# user = "aym";
# hostname = "73.118.150.68";
# port = 69;
# forwardAgent = true;
# identityFile = "/home/jmug/.ssh/id_ed25519";
# };
# };
};
# Let Home Manager install and manage itself.