diff options
| author | seth <[email protected]> | 2023-05-16 07:56:05 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-16 07:56:05 -0400 |
| commit | 75d2be06035dd8ae3065bda0da36644c109b1aba (patch) | |
| tree | c8147adb0e58aad406f9a6607dbdfc343dd6c859 /hosts/p-body/nginx.nix | |
| parent | f64ebd9402c03de16ec11b0986a42416a25bd2ac (diff) | |
ensure reproducibility with hci-agent & website
Diffstat (limited to 'hosts/p-body/nginx.nix')
| -rw-r--r-- | hosts/p-body/nginx.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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"; }; }; |
