add contrib franklincce.nix NixOS module

This commit is contained in:
stupidcomputer 2024-06-29 20:49:38 -05:00
parent e8e83fc5d4
commit 2b026aaeee
1 changed files with 15 additions and 0 deletions

15
contrib/franklincce.nix Normal file
View File

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