From 75d2be06035dd8ae3065bda0da36644c109b1aba Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 May 2023 07:56:05 -0400 Subject: ensure reproducibility with hci-agent & website --- hosts/p-body/nginx.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/p-body/nginx.nix') diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix index 50a5b92..ae1f251 100644 --- a/hosts/p-body/nginx.nix +++ b/hosts/p-body/nginx.nix @@ -1,9 +1,11 @@ { config, + getchoo-website, pkgs, ... }: let inherit (config.networking) domain; + website = getchoo-website.packages.${pkgs.system}.default; in { networking.firewall.allowedTCPPorts = [80 443]; @@ -35,7 +37,7 @@ in { serverAliases = ["www.${domain}"]; locations."/" = { - root = "${pkgs.getchoo-website}/libexec/getchoo-website/deps/getchoo-website/dist/"; + root = "${website}/libexec/getchoo-website/deps/getchoo-website/dist/"; index = "index.html"; }; }; -- cgit v1.2.3