From f16d56e8be2cf3cb99a27bad4fa12c24efc089b8 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 25 Nov 2021 12:25:57 +0100 Subject: [PATCH] add runner and remove giugl.io from nginx --- hosts/architect/githubrunner.nix | 5 ++++ hosts/architect/nginx.nix | 44 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/hosts/architect/githubrunner.nix b/hosts/architect/githubrunner.nix index b12c605..c6e9620 100644 --- a/hosts/architect/githubrunner.nix +++ b/hosts/architect/githubrunner.nix @@ -7,4 +7,9 @@ tokenFile = "/secrets/github-runner/token"; replace = true; }; + + nix.extraOptions = '' + tarball-ttl = 0 + access-tokens = github.com=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 + ''; } diff --git a/hosts/architect/nginx.nix b/hosts/architect/nginx.nix index 6afe640..3b40cba 100644 --- a/hosts/architect/nginx.nix +++ b/hosts/architect/nginx.nix @@ -8,28 +8,28 @@ recommendedProxySettings = true; recommendedTlsSettings = true; - virtualHosts."giugl.io" = { - default = true; - enableACME = true; - addSSL = true; - root = "/var/lib/nginx/error_pages"; - extraConfig = "error_page 404 /index.htm;"; - - locations = { - "/" = { - return = "404"; - }; - - "/index.htm" = { - }; - - "/style.css" = { - }; - - "/wat.jpg" = { - }; - }; - }; +# virtualHosts."giugl.io" = { +# default = true; +# enableACME = true; +# addSSL = true; +# root = "/var/lib/nginx/error_pages"; +# extraConfig = "error_page 404 /index.htm;"; +# +# locations = { +# "/" = { +# return = "404"; +# }; +# +# "/index.htm" = { +# }; +# +# "/style.css" = { +# }; +# +# "/wat.jpg" = { +# }; +# }; +# }; }; users.groups.acme.members = [ "nginx" ];