From 2b026aaeeea529f202aaca24085fda32a49055e3 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sat, 29 Jun 2024 20:49:38 -0500 Subject: [PATCH] add contrib franklincce.nix NixOS module --- contrib/franklincce.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 contrib/franklincce.nix diff --git a/contrib/franklincce.nix b/contrib/franklincce.nix new file mode 100644 index 0000000..3a1a696 --- /dev/null +++ b/contrib/franklincce.nix @@ -0,0 +1,15 @@ +{ lib, config, pkgs, ... }: +{ + # nix expressions to configure the relevant things + # manual nix-shell -c "make clean && make" (etc) is still needed, sadly + + virtualisation.docker.enable = true; + + services.nginx.virtualHosts."franklincce.beepboop.systems" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:1337"; + }; + }; +}