summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-02-04 16:31:22 +0100
committerChristoph Cullmann <cullmann@kde.org>2023-02-04 16:31:22 +0100
commit2780817145cf6aa674a05b44f5310f8b321c9a3b (patch)
tree2267a0d90adc28a03eddd16687800a0a135dba5c
parent04041896e7326ca55b06e6267eb99248b3d494a7 (diff)
sync config
-rw-r--r--common.nix7
1 files 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