nixos-configuration/services/portfolio.nix

16 lines
352 B
Nix
Raw Normal View History

{ system, ... }:
let
portfolio = builtins.getFlake
2023-12-26 04:41:01 +00:00
"github:jrpotter/portfolio/f9d1f38843a859ec5525a0f03612a2e3769bb442";
in
{
services.nginx.virtualHosts."www.jrpotter.com" = {
forceSSL = true;
enableACME = true;
serverAliases = [ "jrpotter.com" ];
locations."/" = {
root = portfolio.packages.${system}.app;
};
};
}