refactor: overhaul pretty much all the organization
This commit is contained in:
parent
4d05c0c645
commit
628ec321c0
15 changed files with 246 additions and 131 deletions
10
modules/ssh/default.nix
Normal file
10
modules/ssh/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "yes";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue