diff --git a/modules/server/default.nix b/modules/server/default.nix index f6874d8..06918bc 100644 --- a/modules/server/default.nix +++ b/modules/server/default.nix @@ -15,7 +15,7 @@ in { config = lib.mkIf cfg.enable { services = { # Enable the OpenSSH daemon. - services.openssh = { + openssh = { enable = true; settings = { # PermitRootLogin = "no"; # this is managed through authorized keys