helm/profiles/server/default.nix

11 lines
272 B
Nix
Raw Normal View History

2022-04-22 04:47:05 -07:00
{ config, ... }:
{
2022-07-18 23:52:41 -07:00
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
};
2022-06-12 05:31:51 -07:00
networking.firewall.allowedTCPPorts = [ 80 433 22 ]; # ssh and website
2022-04-22 06:06:08 -07:00
security.sudo.wheelNeedsPassword = false; # needed for deploy-rs
2022-04-22 04:47:05 -07:00
}