2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
blog = builtins.getFlake
|
2023-12-26 06:00:09 +00:00
|
|
|
"github:jrpotter/blog/f17df1c6244e451d3c5d9f7bfd4076451446ff7b";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|