nixos-config/user/ssh.nix
2023-10-26 17:34:27 -03:00

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