about summary refs log tree commit diff
path: root/machines/profpatsch/legosi.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-06-29 01:35:17 +0200
committerProfpatsch <mail@profpatsch.de>2020-06-29 01:35:17 +0200
commite11caed6109621aac629c85e536ab1f036092330 (patch)
tree3dd2283acae43252861529a1e8aaec869db3697f /machines/profpatsch/legosi.nix
parentb2f2b3fa8657f3698694624d3becf3cbc3f9bafe (diff)
machines/legosi: open firewall for http(s)
Diffstat (limited to 'machines/profpatsch/legosi.nix')
-rw-r--r--machines/profpatsch/legosi.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix
index eb1dc321..d0ddfc5e 100644
--- a/machines/profpatsch/legosi.nix
+++ b/machines/profpatsch/legosi.nix
@@ -40,8 +40,15 @@ in {
 
     networking = {
       hostName = hostname;
+
+      firewall = {
+        allowedTCPPorts = [
+          80 443
+        ];
+      };
     };
 
+
     users.users = {
       root.openssh.authorizedKeys.keys = [ myKey ];
     };