diff --git a/nixops/desktop.nix b/nixops/desktop.nix index 0038754c..978386a7 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -93,6 +93,7 @@ in services.avscan.enable = true; services.openssh.enable = true; + services.openssh.authorizedKeysInHomedir = false; services.openssh.settings.PasswordAuthentication = false; services.openssh.extraConfig = '' diff --git a/nixops/rpi.nix b/nixops/rpi.nix index b7a5eecd..baf09468 100644 --- a/nixops/rpi.nix +++ b/nixops/rpi.nix @@ -24,6 +24,7 @@ in }; services.openssh.enable = true; + services.openssh.authorizedKeysInHomedir = false; services.openssh.settings.PasswordAuthentication = false; services.openssh.settings.GatewayPorts = "clientspecified"; services.openssh.extraConfig =