ssh: include private configs

This commit is contained in:
Leonardo Eugênio 2024-10-25 16:43:53 -03:00
parent 9bc508f4a6
commit 5bda7a8481

View file

@ -1,26 +1,20 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (config.my) username mail;
in
{
config = {
programs.ssh.enable = true;
programs.ssh.matchBlocks = {
monolith = {
user = "lelgenio";
hostname = "monolith.lelgenio.com";
port = 9022;
};
phantom = {
user = "root";
hostname = "phantom.lelgenio.com";
port = 9022;
programs.ssh = {
enable = true;
matchBlocks = {
monolith = {
user = "lelgenio";
hostname = "monolith.lelgenio.com";
port = 9022;
};
phantom = {
user = "root";
hostname = "phantom.lelgenio.com";
port = 9022;
};
};
includes = [ "~/Wopus/.ssh.config" ];
};
};
}