Update hydra configuration

This commit is contained in:
Ehmry - 2019-09-30 17:04:17 +02:00
parent f5e42688db
commit 2b266f8ab4
2 changed files with 12 additions and 0 deletions

View File

@ -18,4 +18,11 @@
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
'';
};
services.nginx.virtualHosts."depot.hq.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/".root = "/srv/www/depot";
};
}

View File

@ -17,6 +17,8 @@
nix.useSandbox = false;
nix.maxJobs = lib.mkDefault 4;
nix.autoOptimiseStore = true;
nix.gc = { automatic = true; dates = "06:00"; options = "--delete-older-than 7d"; };
boot.isContainer = true;
boot.loader.initScript.enable = true;
@ -29,6 +31,9 @@
networking.hostName = "192";
networking.useNetworkd = true;
networking.nameservers = [ "172.20.73.8" ];
# caused problems on this host -- Astro 2019-09-08
services.resolved.enable = false;
# Set your time zone.
time.timeZone = "Europe/Berlin";