From 335cc48b588be86bc70199be750ed6a11c74073c Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Wed, 15 Nov 2023 14:09:03 +0100 Subject: sagittarius: begin hosting website --- hosts/sagittarius/web/blog.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/sagittarius/web/blog.nix b/hosts/sagittarius/web/blog.nix index 1226bd7..49ebb87 100644 --- a/hosts/sagittarius/web/blog.nix +++ b/hosts/sagittarius/web/blog.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ inputs, pkgs, ... }: { imports = [ ./acme.nix ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; @@ -8,7 +8,7 @@ virtualHosts."sorre.xyz" = { enableACME = true; forceSSL = true; - root = "/var/www/blog"; + root = inputs.sorre-website.packages.${pkgs.system}.default; }; }; } -- cgit v1.3.1