diff --git a/modules/nixos/system/services.nix b/modules/nixos/system/services.nix index 23c8388..9c6f158 100644 --- a/modules/nixos/system/services.nix +++ b/modules/nixos/system/services.nix @@ -1,3 +1,9 @@ -{ pkgs, lib, ... }: { - services.openssh.enable = true; +{ pkgs, lib, config, ... }: { + services.openssh = { + enable = true; + settings = { + PasswordAuthentication = false; + X11Forwarding = false; + }; + }; }