nixos-config/user/ssh.nix

27 lines
408 B
Nix
Raw Permalink Normal View History

{
config,
pkgs,
lib,
...
}:
let
2024-06-05 01:18:48 -03:00
inherit (config.my) username mail;
in
{
2023-10-26 17:34:27 -03:00
config = {
programs.ssh.enable = true;
programs.ssh.matchBlocks = {
monolith = {
user = "lelgenio";
2024-05-15 12:46:38 -03:00
hostname = "monolith.lelgenio.com";
2023-10-26 17:34:27 -03:00
port = 9022;
};
2024-03-29 01:04:41 -03:00
phantom = {
user = "root";
2024-05-15 12:46:38 -03:00
hostname = "phantom.lelgenio.com";
2023-10-26 17:34:27 -03:00
port = 9022;
};
};
};
}