nix/nixos/htz/vms/vm-test.nix
2024-01-27 19:39:29 -06:00

14 lines
329 B
Nix

{ addressList, ... }: {
networking.firewall = {
enable = true;
allowedTCPPorts = [80];
allowedUDPPorts = [];
logRefusedConnections = true;
};
services.nginx.enable = true;
services.nginx.virtualHosts."default_server" = {
addSSL = false;
enableACME = false;
};
system.stateVersion = "23.11";
}