Use updated settings names

This commit is contained in:
Johannes Jöns 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;
passwordAuthentication = false; settings = {
kbdInteractiveAuthentication = false; X11forwarding = true;
settings.X11forwarding = true; PermitRootLogin = "yes";
settings.PermitRootLogin = "yes"; passwordAuthentication = false;
kbdInteractiveAuthentication = false;
};
}; };
environment.systemPackages = with pkgs; [ sshfs ]; environment.systemPackages = with pkgs; [ sshfs ];
}; };