nixos-config/user/ssh.nix

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