home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit d681f357799e4058b3f20187445b4944b7dc0f8b
parent 12cd7f6e3ca828c8ac1fdb5411b06a20947e5d29
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 13 May 2024 16:20:42 +0200

services.ssh: update settings

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/services/ssh.nix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/systems/modules/services/ssh.nix b/systems/modules/services/ssh.nix @@ -27,12 +27,13 @@ in }; }; config = mkIf cfg.enable { - warnings = [ "The option 'profiles.ssh' is deprecated, use 'modules.services.ssh' instead" ]; services = { openssh = { enable = true; startWhenNeeded = false; - forwardX11 = cfg.forwardX11; + settings = { + X11Forwarding = cfg.forwardX11; + }; # listenAddresses = map # Move this for kerkouane only extraConfig = ''