Add SSH configuration, move more things to xdg dirs
This commit is contained in:
parent
48ce4411be
commit
517b0a5981
14 changed files with 67 additions and 35 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue