Fixed new ssh options

This commit is contained in:
2026-04-07 20:23:25 +02:00
parent eee7f44ab7
commit 349734ca88
4 changed files with 101 additions and 49 deletions

View File

@@ -2,8 +2,11 @@
{
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
enableDefaultConfig = false;
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
};
"*.cyperpunk.de" = {
identityFile =
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";