nixos-configuration/services/portfolio.nix

16 lines
352 B
Nix
Raw Normal View History

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