diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-02-04 16:31:22 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-02-04 16:31:22 +0100 |
commit | 2780817145cf6aa674a05b44f5310f8b321c9a3b (patch) | |
tree | 2267a0d90adc28a03eddd16687800a0a135dba5c | |
parent | 04041896e7326ca55b06e6267eb99248b3d494a7 (diff) |
sync config
-rw-r--r-- | common.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |