forked from Bun/nixos-config
24 lines
533 B
Nix
24 lines
533 B
Nix
{ config, lib, ... }:
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
addKeysToAgent = "yes";
|
|
compression = true;
|
|
matchBlocks = with lib.hm.dag; {
|
|
nixfox = {
|
|
host = "*.nixfox.ca";
|
|
user = config.home.username;
|
|
};
|
|
midas = entryAfter [ "nixfox" ] {
|
|
hostname = "sv.nixfox.ca";
|
|
};
|
|
kitty = entryAfter [ "nixfox" ] {
|
|
hostname = "sv.nixfox.ca";
|
|
port = 2222;
|
|
};
|
|
prophet = entryAfter [ "nixfox" ] {
|
|
hostname = "mx.nixfox.ca";
|
|
};
|
|
};
|
|
};
|
|
}
|