nixos-configuration/services/blog.nix

15 lines
298 B
Nix
Raw Normal View History

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