home: ssh: disable default config
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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:
parent
b9bc37d365
commit
e6c95245b2
1 changed files with 6 additions and 4 deletions
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue