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