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/priviblur.nix

24 lines
499 B
Nix

{ pkgs, config, ... }: {
virtualisation.oci-containers.containers = {
# todo fix, requires a config file....
priviblur = {
image = "quay.io/pussthecatorg/priviblur:latest";
ports = [
"1484:8000"
];
};
};
services.nginx = {
virtualHosts = {
"priviblur.${config.networking.domain}" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = " http://127.0.0.1:1484";
};
};
};
};
}