This repository has been archived on 2024-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hosts/carbon/services/privacy/dumb.nix
2024-05-29 17:15:20 +02:00

26 lines
461 B
Nix

{ pkgs, config, ... }: {
virtualisation.oci-containers.containers = {
dumb = {
image = "ghcr.io/rramiachraf/dumb:latest";
ports = [
"8332:5555"
];
};
};
services.nginx = {
virtualHosts = {
"dumb.${config.networking.domain}" =
{
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = " http://127.0.0.1:8332";
};
};
};
};
}