profiles: init (vsock ssh &c.)

This commit is contained in:
Else, Someone 2025-09-17 16:51:24 +03:00
parent 12e95630b1
commit 1828835a1d
8 changed files with 228 additions and 0 deletions

View 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
'';
}