home: fix deprecated git and ssh option names

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-03-11 16:47:40 +09:00
co-authored by Claude Sonnet 4.6
parent 35dc4be1b8
commit 6caf91b208
2 changed files with 22 additions and 24 deletions
+7 -6
View File
@@ -32,11 +32,12 @@
};
};
extraConfig = ''
Host *
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519
'';
enableDefaultConfig = false;
matchBlocks."*" = {
identityFile = "~/.ssh/id_ed25519";
extraOptions.AddKeysToAgent = "yes";
};
};
home.activation.generateSshKey = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
@@ -58,7 +59,7 @@
signByDefault = true;
};
extraConfig = {
settings = {
gpg.format = "ssh";
tag.gpgSign = true;
};