diff --git a/modules/common/default.nix b/modules/common/default.nix index c27155f..72afcc8 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -35,7 +35,10 @@ in programs.mosh.enable = true; services = { - openssh.enable = true; + openssh = { + enable = true; + permitRootLogin = "no"; + }; }; # Select internationalisation properties.