diff options
author | Profpatsch <mail@profpatsch.de> | 2020-06-29 01:35:17 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-06-29 01:35:17 +0200 |
commit | e11caed6109621aac629c85e536ab1f036092330 (patch) | |
tree | 3dd2283acae43252861529a1e8aaec869db3697f /machines/profpatsch/legosi.nix | |
parent | b2f2b3fa8657f3698694624d3becf3cbc3f9bafe (diff) |
machines/legosi: open firewall for http(s)
Diffstat (limited to 'machines/profpatsch/legosi.nix')
-rw-r--r-- | machines/profpatsch/legosi.nix | 7 |
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 ]; }; |