nixos-config/user/ssh.nix
2024-03-29 01:06:59 -03:00

20 lines
397 B
Nix

{ 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;
};
phantom = {
user = "root";
hostname = "phantom.lelgenio.xyz";
port = 9022;
};
};
};
}