refactor: overhaul pretty much all the organization

This commit is contained in:
Kiana Sheibani 2024-11-20 00:58:57 -05:00
parent 4d05c0c645
commit 628ec321c0
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
15 changed files with 246 additions and 131 deletions

10
modules/ssh/default.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
services.openssh.enable = true;
services.openssh.settings = {
PasswordAuthentication = false;
PermitRootLogin = "yes";
};
networking.firewall.allowedTCPPorts = [ 22 ];
}