home: add ssh config

This commit is contained in:
lelgenio 2023-10-26 17:34:27 -03:00
parent f6530e55ea
commit b8081cf4c6
2 changed files with 20 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./hyprland.nix
./alacritty.nix
./git.nix
./ssh.nix
./qutebrowser
./gpg.nix
./rofi.nix

19
user/ssh.nix Normal file
View file

@ -0,0 +1,19 @@
{ 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;
};
};
};
}