remove root login

This commit is contained in:
zackartz 2024-05-19 18:38:17 -04:00
parent e012910426
commit 04fa6c9aeb
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA

View file

@ -2,7 +2,6 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ {
config,
pkgs, pkgs,
inputs, inputs,
... ...
@ -126,6 +125,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
permitRootLogin = false;
}; };
zmio.blog.enable = true; zmio.blog.enable = true;