From 77ba57e8fa7f77e89441c6129cf3246aebca8ab6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 24 May 2023 12:44:55 +0800 Subject: [PATCH] disable X11 forwarding (replaced with waypipe) --- nixbld-etc-nixos/configuration.nix | 2 +- nixops/desktop.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 2fada3b..9824883 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -304,6 +304,7 @@ in nvme-cli borgbackup bind + waypipe (callPackage ./afws { inherit pkgs; }) (callPackage ./labelprinter { inherit pkgs; }) ]; @@ -325,7 +326,6 @@ in # Enable the OpenSSH daemon. services.openssh.enable = true; - services.openssh.forwardX11 = true; services.openssh.passwordAuthentication = false; services.openssh.gatewayPorts = "clientspecified"; programs.mosh.enable = true; diff --git a/nixops/desktop.nix b/nixops/desktop.nix index f8ba22f..b9e5040 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -82,7 +82,6 @@ in }; services.openssh.enable = true; - services.openssh.forwardX11 = true; services.openssh.passwordAuthentication = false; services.openssh.extraConfig = ''