From e11caed6109621aac629c85e536ab1f036092330 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 29 Jun 2020 01:35:17 +0200 Subject: machines/legosi: open firewall for http(s) --- machines/profpatsch/legosi.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'machines/profpatsch/legosi.nix') 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 ]; }; -- cgit 1.4.1