nixos-config/user/ssh.nix

20 lines
397 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";
hostname = "lelgenio.1337.cx";
port = 9022;
};
2024-03-29 01:04:41 -03:00
phantom = {
user = "root";
hostname = "phantom.lelgenio.xyz";
2023-10-26 17:34:27 -03:00
port = 9022;
};
};
};
}