nix/host/x86_64-linux/home/nginx/Privatebin.nix

11 lines
206 B
Nix
Raw Normal View History

{ config, ... }:
let
cfg = config.const.host.nginx;
in
2024-12-20 06:32:56 +03:00
{
"paste.${cfg.domain}" = {
inherit (cfg) sslCertificate sslCertificateKey extraConfig;
locations."/".extraConfig = cfg.allowLocal;
};
2024-12-02 21:12:45 +03:00
}