1
0
forked from c3d2/nix-config

cavemem: deploy gatherer, bump resources

This commit is contained in:
Astro 2022-11-16 00:50:26 +01:00
parent 3ad315959b
commit d92b406e98

View File

@ -10,7 +10,7 @@
};
microvm = {
vcpu = 16;
mem = 6 * 1024;
mem = 16 * 1024;
};
networking = {
@ -28,7 +28,7 @@
hunter = {
enable = true;
settings = {
max_workers = 64;
max_workers = 128;
hosts = with builtins;
filter isString (
split "\n" (
@ -37,16 +37,22 @@
);
};
};
gatherer.enable = true;
};
# services = {
# nginx = rec {
# enable = true;
# virtualHosts."" = {
# default = true;
# forceSSL = true;
# enableACME = true;
# };
# };
# };
services = {
nginx = rec {
enable = true;
virtualHosts."fedi.buzz" = {
default = true;
forceSSL = true;
enableACME = true;
serverAliases = [
"www.fedi.buzz"
"caveman.flpk.zentralwerk.org"
];
locations."/".proxyPass = "http://127.0.0.1:${toString config.services.caveman.gatherer.settings.listen_port}/";
};
};
};
}