Add SSH configuration, move more things to xdg dirs

This commit is contained in:
Bun 2025-05-16 02:45:17 -04:00
parent 48ce4411be
commit 517b0a5981
14 changed files with 67 additions and 35 deletions

View file

@ -1,7 +1,24 @@
{ ... }:
{ 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";
};
};
};
}