Compare commits
No commits in common. "303f515a1d20eeec541d9b322135a94cea41e148" and "f16d7d316d4b81c5cfccb956e2e67e101cebb95c" have entirely different histories.
303f515a1d
...
f16d7d316d
@ -193,29 +193,6 @@
|
||||
"kuma.protogen.io".locations."/".return = "301 https://uptime.protogen.io";
|
||||
"vsc-hass.protogen.io" = mkReverseProxy 1881;
|
||||
|
||||
"trackmap.protogen.io" = let
|
||||
root = pkgs.modpacks.notlite-ctm-static;
|
||||
in {
|
||||
useACMEHost = "protogen.io";
|
||||
authelia.instance = "main";
|
||||
authelia.endpointURL = "https://auth.protogen.io";
|
||||
locations."/" = {
|
||||
inherit root;
|
||||
extraConfig = ''
|
||||
autoindex off;
|
||||
'';
|
||||
};
|
||||
locations."/api/" = {
|
||||
proxyPass = "http://10.10.0.3:3876";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
chunked_transfer_encoding off;
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
"localhost" = {
|
||||
default = true;
|
||||
|
@ -9,7 +9,6 @@ let
|
||||
in rec {
|
||||
backports = import ./backports.nix nixfiles;
|
||||
mitigations = import ./mitigations.nix nixfiles;
|
||||
modpacks = import ./modpacks.nix nixfiles;
|
||||
default = composeManyExtensions [
|
||||
backports
|
||||
mitigations
|
||||
|
@ -1,27 +0,0 @@
|
||||
nixfiles: final: prev:
|
||||
let
|
||||
inherit (final) lib;
|
||||
inherit (lib) fakeHash;
|
||||
notlite = let
|
||||
commit = "7697c3a";
|
||||
packHash = "sha256-/IA/NP1w9RcWg+71lxUN+Q3hz12GhN/e4lkSnaYyAb4=";
|
||||
in final.fetchPackwizModpack {
|
||||
url = "https://gitea.protogen.io/nullbite/notlite/raw/commit/${commit}/pack.toml";
|
||||
inherit packHash;
|
||||
};
|
||||
|
||||
notlite-ctm-static = final.stdenvNoCC.mkDerivation {
|
||||
pname = "ctm-static";
|
||||
version = "0.0.0";
|
||||
src = final.emptyDirectory;
|
||||
nativeBuildInputs = [ final.unzip ];
|
||||
buildPhase = ''
|
||||
unzip "${notlite}/mods/create-track-map-*.jar" 'assets/littlechasiu/ctm/static/*'
|
||||
cp -r assets/littlechasiu/ctm/static/. $out/
|
||||
'';
|
||||
};
|
||||
in {
|
||||
modpacks = {
|
||||
inherit notlite notlite-ctm-static;
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user