profiles: init (vsock ssh &c.)
This commit is contained in:
parent
12e95630b1
commit
1828835a1d
8 changed files with 228 additions and 0 deletions
18
profiles/vsock-connect.nix
Normal file
18
profiles/vsock-connect.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.ssh.extraConfig =
|
||||
let
|
||||
ssh-proxy = pkgs.callPackage ../pkgs/ch-proxy/package.nix { };
|
||||
in
|
||||
''
|
||||
Host vsock-mux%* uvm/* uuvm/*
|
||||
ProxyCommand ${lib.getExe ssh-proxy} %h
|
||||
ProxyUseFdpass yes
|
||||
CheckHostIP no
|
||||
|
||||
# systemd: "Disable all kinds of host identity checks, since these addresses are generally ephemeral"
|
||||
StrictHostKeyChecking no
|
||||
'';
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue