(refactor): preparing new hosts

This commit is contained in:
chloe 2024-08-16 16:42:55 +02:00
parent 35684609f3
commit f20bcf41e9
15 changed files with 177 additions and 398 deletions

11
features/shared/ssh.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
}