mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-27 13:33:57 +02:00
security: disable SSH X11 forwarding on servers, keep on desktops
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
# Desktops keep X11 forwarding (current behavior, needed for GUI forwarding);
|
||||
# servers default to off (see modules/nixos/base/ssh.nix).
|
||||
services.openssh.settings.X11Forwarding = true;
|
||||
}
|
||||
Reference in New Issue
Block a user