From 9992039edbc4c25d2af9aa555f6465acdd750cfd Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Wed, 30 Jul 2025 16:06:17 +0200 Subject: [PATCH] Set up ssh client with GSSAPI auth --- hosts/20212060/configuration.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/hosts/20212060/configuration.nix b/hosts/20212060/configuration.nix index 084ff82..19940d0 100644 --- a/hosts/20212060/configuration.nix +++ b/hosts/20212060/configuration.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ inputs, pkgs, ... }: { # State version @@ -24,6 +24,14 @@ }; }; + # TODO: Remove once laptop is properly integrated into domain + programs.ssh = { + package = pkgs.openssh_gssapi; + extraConfig = '' + GSSAPIAuthentication yes + ''; + }; + # Enable virtualisation for VMs virtualisation.libvirtd.enable = true; @@ -34,12 +42,17 @@ usbmon.enable = true; }; + # Enable Nix-LD + programs.nix-ld = { + enable = true; + }; + # Set up wstunnel client services.wstunnel = { enable = true; clients.wg-tunnel = { connectTo = "wss://tunnel.bulthuis.dev:443"; - localToRemote = [ + settings.local-to-remote = [ "udp://51820:10.10.40.100:51820" ]; };