diff options
| author | lassulus <git@lassul.us> | 2023-07-28 23:59:58 +0200 |
|---|---|---|
| committer | lassulus <git@lassul.us> | 2023-07-28 23:59:58 +0200 |
| commit | 02e790c9fb6965e28f1573841181f610ff1599eb (patch) | |
| tree | 5462ffe78c3708806821d893baa6a2c81137812f /makefu/2configs/binary-cache/server.nix | |
| parent | fd07efa9e97b0984856a97a44ad0b97130db92f7 (diff) | |
| parent | 3f37acf6f9ea4af21195cd7b0a37ba359105a69d (diff) | |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/binary-cache/server.nix')
| -rw-r--r-- | makefu/2configs/binary-cache/server.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/makefu/2configs/binary-cache/server.nix b/makefu/2configs/binary-cache/server.nix deleted file mode 100644 index c1ae16e29..000000000 --- a/makefu/2configs/binary-cache/server.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, ...}: - -{ - # generate private key with: - # nix-store --generate-binary-cache-key gum nix-serve.key nix-serve.pub - services.nix-serve = { - enable = true; - port = 5001; - secretKeyFile = toString <secrets> + "/nix-serve.key"; - }; - - services.nginx = { - enable = true; - virtualHosts."cache.euer.krebsco.de" = { - forceSSL = true; - enableACME = true; - serverAliases = [ # "cache.gum.r" - "cache.gum.krebsco.de" - ]; - locations."/".proxyPass= "http://localhost:${toString config.services.nix-serve.port}"; - }; - }; -} - |
