diff options
author | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-07-28 22:24:15 +0200 |
commit | 060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch) | |
tree | 2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/2configs/binary-cache | |
parent | cbfcc890e3b76d942b927809bf981a5fa7289e6a (diff) |
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/2configs/binary-cache')
-rw-r--r-- | makefu/2configs/binary-cache/gum.nix | 13 | ||||
-rw-r--r-- | makefu/2configs/binary-cache/lass.nix | 13 | ||||
-rw-r--r-- | makefu/2configs/binary-cache/nixos.nix | 12 | ||||
-rw-r--r-- | makefu/2configs/binary-cache/server.nix | 24 |
4 files changed, 0 insertions, 62 deletions
diff --git a/makefu/2configs/binary-cache/gum.nix b/makefu/2configs/binary-cache/gum.nix deleted file mode 100644 index fc6e26fe..00000000 --- a/makefu/2configs/binary-cache/gum.nix +++ /dev/null @@ -1,13 +0,0 @@ - -{ config, ... }: - -{ - nix.settings = { - substituters = [ - "https://cache.euer.krebsco.de/" - ]; - trusted-public-keys = [ - "gum:iIXIFlCAotib+MgI3V/i3HMlFXiVYOT/jfP0y54Zuvg=" - ]; - }; -} diff --git a/makefu/2configs/binary-cache/lass.nix b/makefu/2configs/binary-cache/lass.nix deleted file mode 100644 index 7d7549d8..00000000 --- a/makefu/2configs/binary-cache/lass.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, ... }: - -{ - nix.settings = { - substituters = [ - "https://cache.krebsco.de" - ]; - trusted-public-keys = [ - "cache.prism-1:+S+6Lo/n27XEtvdlQKuJIcb1yO5NUqUCE2lolmTgNJU=" - "cache.prism-2:YwmCm3/s/D+SxrPKN/ETjlpw/219pNUbpnluatp6FKI=" - ]; - }; -} diff --git a/makefu/2configs/binary-cache/nixos.nix b/makefu/2configs/binary-cache/nixos.nix deleted file mode 100644 index 29913005..00000000 --- a/makefu/2configs/binary-cache/nixos.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, ... }: - -{ - nix.settings = { - substituters = [ - "https://cache.nixos.org/" - ]; - trusted-public-keys = [ - "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - ]; - }; -} diff --git a/makefu/2configs/binary-cache/server.nix b/makefu/2configs/binary-cache/server.nix deleted file mode 100644 index c1ae16e2..00000000 --- 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}"; - }; - }; -} - |