initial config with paste and git

This commit is contained in:
bc 2025-08-02 07:04:30 +00:00
parent 6524349eee
commit 8c7c87968e
4 changed files with 114 additions and 0 deletions

16
o-paste.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
let
domain = "gagepaste.chicagotea.click";
in
{
services.microbin = {
enable = true;
settings = {
MICROBIN_PORT = 8001; #9457
MICROBIN_PUBLIC_PATH = "https://${domain}";
};
};
services.caddy.virtualHosts.${domain}.extraConfig = ''
reverse_proxy :3000
'';
}