From effd3390c363cee1bab73e3091f53f6a5b60aa4a Mon Sep 17 00:00:00 2001 From: "thomas g. lopes" Date: Tue, 10 Mar 2026 11:53:13 +0000 Subject: [PATCH] enable openssh --- modules/hosts/nixos.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/hosts/nixos.nix b/modules/hosts/nixos.nix index 9f00114..7d92930 100644 --- a/modules/hosts/nixos.nix +++ b/modules/hosts/nixos.nix @@ -48,6 +48,14 @@ flake.nixosModules.nixos-host = {pkgs, ...}: { pulse.enable = true; }; + # SSH + services.openssh = { + enable = true; + settings = { + PermitRootLogin = "no"; + }; + }; + # User account users.users.${config.username} = { isNormalUser = true;