summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/binary-cache/server.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/2configs/binary-cache/server.nix
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/2configs/binary-cache/server.nix')
-rw-r--r--makefu/2configs/binary-cache/server.nix24
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}";
- };
- };
-}
-