From 2b597ff20ae2a3dc495c93f0ef87665f7be82de3 Mon Sep 17 00:00:00 2001 From: Nettika Date: Tue, 23 Jul 2024 20:46:41 -0700 Subject: [PATCH] WIP --- hosts/monolith/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/monolith/default.nix b/hosts/monolith/default.nix index ac7835e..94062ca 100755 --- a/hosts/monolith/default.nix +++ b/hosts/monolith/default.nix @@ -9,6 +9,7 @@ networking = { hostName = "monolith"; hostId = "44551c32"; + firewall.allowedTCPPorts = [ 80 ]; }; fileSystems = { @@ -37,6 +38,12 @@ supportedFilesystems = [ "zfs" ]; }; + services.static-web-server = { + enable = true; + listen = "[::]:80"; + root = "/srv/www"; + }; + time.timeZone = "America/Los_Angeles"; system.stateVersion = "24.05";