helm/profiles/server/default.nix

14 lines
369 B
Nix
Raw Normal View History

2022-09-18 15:13:50 -07:00
{ config, ... }:
{
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
};
2022-09-23 01:11:14 -07:00
networking.firewall.allowedTCPPorts = [ 80 443 22 ]; # ssh and website
2022-09-18 15:13:50 -07:00
security.sudo.wheelNeedsPassword = false; # needed for deploy-rs
2022-09-20 08:32:09 -07:00
security.acme.defaults.email = "anish+acme@lakhwara.com";
security.acme.acceptTerms = true;
2022-09-18 15:13:50 -07:00
}