ssh: made root able to use id file

This commit is contained in:
2025-12-29 10:50:48 +00:00
parent db287b22eb
commit 33b2854c19
2 changed files with 22 additions and 1 deletions

View File

@@ -229,8 +229,16 @@ in
programs = {
ssh = {
# enable = true;
extraConfig = "AddKeysToAgent yes";
startAgent = true;
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
identityFile = [
"~/.ssh/id_ed25519"
];
};
};
};
fish.enable = true;
};