Enable odyssey as binary cache

This commit is contained in:
2023-05-20 15:06:09 +01:00
parent 9d2420e716
commit 7da29fee73
2 changed files with 25 additions and 0 deletions

View File

@ -25,6 +25,21 @@ with lib.my;
system.stateVersion = "22.11";
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"odyssey.mesh.vimium.net" = {
locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
};
};
};
modules = {
desktop = {
apps.qbittorrent.enable = true;