2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
blog = builtins.getFlake
|
2023-12-31 19:25:54 +00:00
|
|
|
"github:jrpotter/blog/0b98273575532aac286f0f98d417e761400bbd81";
|
2023-12-23 21:29:18 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts."blog.jrpotter.com" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/" = {
|
|
|
|
root = blog.packages.${system}.app;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|