Use updated settings names

This commit is contained in:
jopejoe1 2023-04-05 09:24:11 +02:00
parent 3c816a3620
commit 5dd2fb403d

View file

@ -12,10 +12,12 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = {
X11forwarding = true;
PermitRootLogin = "yes";
passwordAuthentication = false; passwordAuthentication = false;
kbdInteractiveAuthentication = false; kbdInteractiveAuthentication = false;
settings.X11forwarding = true; };
settings.PermitRootLogin = "yes";
}; };
environment.systemPackages = with pkgs; [ sshfs ]; environment.systemPackages = with pkgs; [ sshfs ];
}; };