2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
portfolio = builtins.getFlake
|
2024-01-31 13:11:29 +00:00
|
|
|
"github:jrpotter/portfolio/357999e784102ba11c52cf1fc9edbfaa8a00912d";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|