refactor: move openssh config to a mkif
This commit is contained in:
parent
aa269aa681
commit
bfeae72f73
2 changed files with 6 additions and 6 deletions
|
@ -18,12 +18,6 @@
|
|||
networking.hostName = "gemini";
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 22 25565 ];
|
||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue