nixos-configuration/services/blog.nix

15 lines
298 B
Nix
Raw Normal View History

{ system, ... }:
let
blog = builtins.getFlake
2024-01-07 16:11:13 +00:00
"github:jrpotter/blog/c4f8c98c5ea405da731b7d16d6a7d9e09c74bfba";
in
{
services.nginx.virtualHosts."blog.jrpotter.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = blog.packages.${system}.app;
};
};
}