feat: nix serve from main pc, also hydra

This commit is contained in:
Noa Aarts 2024-08-30 20:49:43 +02:00
parent 18456e3c0d
commit f5f046d297
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -216,6 +216,19 @@
pulse.enable = true;
jack.enable = true;
};
nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
bindAddress = "127.0.0.1";
port = 22332;
};
hydra = {
enable = true;
hydraURL = "http://localhost:3000";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;
};
fail2ban.enable = true;
greetd = {
enable = false;
@ -261,6 +274,28 @@
};
flatpak.enable = true;
udev.packages = [ pkgs.yubikey-personalization ];
nginx =
{
enable = true;
package = pkgs.nginx.override {
modules = [ pkgs.nginxModules.brotli ];
};
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedBrotliSettings = true;
sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL";
virtualHosts = {
"noasserver" = {
locations."/".proxyPass = "http://127.0.0.1:22332";
};
};
};
};
systemd = {