2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
blog = builtins.getFlake
|
2024-01-17 14:39:08 +00:00
|
|
|
"github:jrpotter/blog/9e3821f31a1261bffb83392ce02cb9d2a6da9b81";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|