mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-09 19:32:05 +02:00
9 lines
236 B
Nix
9 lines
236 B
Nix
{
|
|
# Desktops keep X11 forwarding (current behavior, needed for GUI forwarding);
|
|
# servers default to off (see modules/nixos/base/ssh.nix).
|
|
services.openssh.settings = {
|
|
PermitRootLogin = "no";
|
|
X11Forwarding = true;
|
|
};
|
|
}
|