ark/hosts/wolumonde/modules/blog.nix
2022-08-14 10:07:26 +03:00

15 lines
277 B
Nix

{
pkgs,
inputs,
...
}: {
services.nginx.virtualHosts."gaze.systems" = {
enableACME = true;
forceSSL = true;
root = "${inputs.blog.packages.${pkgs.system}.blog}";
locations."/".extraConfig = ''
add_header cache-control max-age=1800;
'';
};
}