some more adjustments, tried to get vs code to work
This commit is contained in:
20
modules/home-manager/ssh.nix
Normal file
20
modules/home-manager/ssh.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
programs.ssh.enable = true;
|
||||
programs.ssh.matchBlocks = {
|
||||
ela = lib.hm.dag.entryBefore ["eiger"] {
|
||||
hostname = "ela.cscs.ch";
|
||||
user = "rmoll";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/cscs-key";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
||||
eiger = {
|
||||
hostname = "eiger.cscs.ch";
|
||||
user = "rmoll";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/cscs-key";
|
||||
identitiesOnly = true;
|
||||
proxyJump = "ela";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user