nixos-config/user/ssh.nix
2024-05-31 11:41:21 -03:00

27 lines
412 B
Nix

{
config,
pkgs,
lib,
...
}:
let
inherit (pkgs.uservars) 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;
};
};
};
}