11 lines
307 B
Nix
11 lines
307 B
Nix
|
{ config, pkgs, ... }: {
|
||
|
imports = [ ../common ../common/lxc.nix ];
|
||
|
networking.hostName = "nginx";
|
||
|
system.stateVersion = "21.11";
|
||
|
networking.firewall.enable = true;
|
||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||
|
services.nginx.enable = true;
|
||
|
services.nginx.package = pkgs.nginxMainline;
|
||
|
|
||
|
}
|