ssh: include private configs
This commit is contained in:
parent
9bc508f4a6
commit
5bda7a8481
34
user/ssh.nix
34
user/ssh.nix
|
@ -1,26 +1,20 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
inherit (config.my) username mail;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
programs.ssh.enable = true;
|
programs.ssh = {
|
||||||
programs.ssh.matchBlocks = {
|
enable = true;
|
||||||
monolith = {
|
matchBlocks = {
|
||||||
user = "lelgenio";
|
monolith = {
|
||||||
hostname = "monolith.lelgenio.com";
|
user = "lelgenio";
|
||||||
port = 9022;
|
hostname = "monolith.lelgenio.com";
|
||||||
};
|
port = 9022;
|
||||||
phantom = {
|
};
|
||||||
user = "root";
|
phantom = {
|
||||||
hostname = "phantom.lelgenio.com";
|
user = "root";
|
||||||
port = 9022;
|
hostname = "phantom.lelgenio.com";
|
||||||
|
port = 9022;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
includes = [ "~/Wopus/.ssh.config" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue