home: ssh: disable default config
All checks were successful
ci/woodpecker/push/check Pipeline was successful

It's been deprecated.

This also makes my `addKeysToAgent` configuration more explicit.
This commit is contained in:
Bruno BELANYI 2025-09-04 11:17:27 +00:00
parent b9bc37d365
commit e6c95245b2

View file

@ -17,6 +17,7 @@ in
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
includes = [
# Local configuration, not-versioned
@ -53,11 +54,12 @@ in
identityFile = "~/.ssh/shared_rsa";
user = "ambroisie";
};
};
extraConfig = ''
AddKeysToAgent yes
'';
# `*` is automatically made the last match block by the module
"*" = {
addKeysToAgent = "yes";
};
};
};
}