25 lines
490 B
Nix
25 lines
490 B
Nix
{ den, modules, ... }:
|
|
{
|
|
modules.ssh = {
|
|
homeManager =
|
|
{ home, ... }:
|
|
{
|
|
programs = {
|
|
ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
matchBlocks = {
|
|
"*" = {
|
|
addKeysToAgent = "yes";
|
|
identityFile = [
|
|
"~/.ssh/id_ed25519"
|
|
"~/.ssh/id_gitea_scug"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|