nixos-configuration/services/blog.nix

15 lines
298 B
Nix
Raw Normal View History

{ system, ... }:
let
blog = builtins.getFlake
2023-12-26 06:00:09 +00:00
"github:jrpotter/blog/f17df1c6244e451d3c5d9f7bfd4076451446ff7b";
in
{
services.nginx.virtualHosts."blog.jrpotter.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = blog.packages.${system}.app;
};
};
}