Add template host

This commit is contained in:
2024-03-08 20:10:50 +01:00
parent 8b15e98499
commit 7ba862f21d
12 changed files with 161 additions and 20 deletions

View File

@@ -1,9 +1,11 @@
{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "no";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
passwordAuthentication = true;
settings = {
PermitRootLogin = "yes";
# TODO: Allow root login from certain hosts.
# Then dissallow rest.
PasswordAuthentication = true;
};
};
}