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"; + }; + }; +}