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