tvl-depot/users/wpcarro/nixos/modules/www/billandhiscomputer.com.nix
William Carroll 6d99b93f1a feat(wpcarro/website): Support SSL certs for wpcarro.dev
This has been sloppy for awhile...

While I'm at it modularize some of my Nginx configuration.

Side note: might be time to decouple the Terraform provisioning stuffs from the
NixOS configuration, and this feels *too* tightly coupled.

Change-Id: Ida0da5462d938b956571321a67ba1f026fb0a7de
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5902
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-06-28 17:37:40 +00:00

11 lines
208 B
Nix

{ pkgs, depot, ... }:
{
config = {
services.nginx.virtualHosts."billandhiscomputer.com" = {
enableACME = true;
forceSSL = true;
root = depot.users.wpcarro.website.root;
};
};
}