2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
portfolio = builtins.getFlake
|
2024-01-10 19:29:34 +00:00
|
|
|
"github:jrpotter/portfolio/869cbe0f566814caa8a791d956ea794004f2eb7d";
|
2023-12-23 21:29:18 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts."www.jrpotter.com" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
serverAliases = [ "jrpotter.com" ];
|
|
|
|
locations."/" = {
|
|
|
|
root = portfolio.packages.${system}.app;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|