diff options
Diffstat (limited to 'host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix')
-rwxr-xr-x | host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix new file mode 100755 index 0000000..39f593e --- /dev/null +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix @@ -0,0 +1,28 @@ +{ pkgs, lib, ... }: + +{ +# imports = +# [ +# ./root.nix +# ]; + + privateNetwork = true; + autoStart = true; + + + # config is root.nix with networking overridden + config = import ./root.nix { + inherit config; + etc."resolv.conf".text = '' + nameserver 8.8.8.8 + nameserver 8.4.4.8 + nameserver 1.1.1.1 + nameserver 1.0.0.1 + ''; + networking.firewall = { + enable = true; + allowedTCPPorts = [ 80 443 ]; + }; + }; + +} \ No newline at end of file |