From 2780817145cf6aa674a05b44f5310f8b321c9a3b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 4 Feb 2023 16:31:22 +0100 Subject: sync config --- common.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index ffc6eb6..5eafa49 100644 --- a/common.nix +++ b/common.nix @@ -94,8 +94,9 @@ in networking.useDHCP = false; networking.useNetworkd = true; - # ensure firewall is up + # ensure firewall is up, allow ssh and http in networking.firewall.enable = true; + networking.firewall.allowedTCPPorts = [ 22 80 ]; # swap to RAM zramSwap.enable = true; @@ -343,6 +344,9 @@ in Defaults lecture = never ''; + # use some small web server to have easy file sharing at home + services.nginx.enable = true; + ### ### per user configuration below ### @@ -438,7 +442,6 @@ in texlive.combined.scheme-small tigervnc tk - uim unrar unzip usbutils -- cgit v1.2.3