11 lines
272 B
Nix
11 lines
272 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
passwordAuthentication = false;
|
||
|
permitRootLogin = "no";
|
||
|
};
|
||
|
networking.firewall.allowedTCPPorts = [ 80 433 22 ]; # ssh and website
|
||
|
security.sudo.wheelNeedsPassword = false; # needed for deploy-rs
|
||
|
}
|