From db8cb61d4a13fa861440379f4788a6524d880467 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 15 Feb 2024 06:27:47 +0100 Subject: init code.nomath.org --- apps/static-website/module.nix | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 apps/static-website/module.nix (limited to 'apps/static-website/module.nix') diff --git a/apps/static-website/module.nix b/apps/static-website/module.nix new file mode 100644 index 0000000..659dfad --- /dev/null +++ b/apps/static-website/module.nix @@ -0,0 +1,4 @@ +{ appConfig, ... }: { + services.nginx.enable = true; + services.nginx.virtualHosts.${appConfig.domain}.locations."/".root = appConfig.root; +} -- cgit v1.2.3