From f64ebd9402c03de16ec11b0986a42416a25bd2ac Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 May 2023 05:33:15 -0400 Subject: p-body: start hosting my website --- hosts/p-body/nginx.nix | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'hosts/p-body/nginx.nix') diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix index 0be0f5b..50a5b92 100644 --- a/hosts/p-body/nginx.nix +++ b/hosts/p-body/nginx.nix @@ -34,21 +34,9 @@ in { enableACME = true; serverAliases = ["www.${domain}"]; - locations = { - "/" = { - root = - pkgs.writeTextDir "index.html" - '' - - - - - - - ''; - - index = "index.html"; - }; + locations."/" = { + root = "${pkgs.getchoo-website}/libexec/getchoo-website/deps/getchoo-website/dist/"; + index = "index.html"; }; }; -- cgit v1.2.3