nixos-config/user/ssh.nix

20 lines
402 B
Nix
Raw Normal View History

2023-10-26 17:34:27 -03:00
{ config, pkgs, lib, ... }:
let inherit (pkgs.uservars) username mail;
in {
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;
};
};
};
}