18 lines
368 B
Nix
18 lines
368 B
Nix
{ config, ... }:
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
matchBlocks =
|
|
let
|
|
inherit (config.home) homeDirectory;
|
|
serverConfig = {
|
|
identityFile = "${homeDirectory}/.ssh/id_github_signing";
|
|
user = "root";
|
|
};
|
|
in
|
|
{
|
|
"blacksteel" = serverConfig;
|
|
"tyo0.ny4.dev" = serverConfig;
|
|
};
|
|
};
|
|
}
|