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 {
services.openssh = {
enable = true;
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
settings.X11forwarding = true;
settings.PermitRootLogin = "yes";
settings = {
X11forwarding = true;
PermitRootLogin = "yes";
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
};
};
environment.systemPackages = with pkgs; [ sshfs ];
};