home: add ssh config
This commit is contained in:
parent
f6530e55ea
commit
b8081cf4c6
|
@ -10,6 +10,7 @@
|
|||
./hyprland.nix
|
||||
./alacritty.nix
|
||||
./git.nix
|
||||
./ssh.nix
|
||||
./qutebrowser
|
||||
./gpg.nix
|
||||
./rofi.nix
|
||||
|
|
19
user/ssh.nix
Normal file
19
user/ssh.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue