From 570571d7ed80bcb72c26b90a6f30ed1c15355eff Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sat, 15 Apr 2023 15:10:38 +0200 Subject: [PATCH] SQ chonk --- hosts/chonk/factorio.nix | 136 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 126 insertions(+), 10 deletions(-) diff --git a/hosts/chonk/factorio.nix b/hosts/chonk/factorio.nix index 71b054fa..83d5a59a 100644 --- a/hosts/chonk/factorio.nix +++ b/hosts/chonk/factorio.nix @@ -11,6 +11,7 @@ with pkgs; let allOptionalMods = false; }; + # Krastorio flib = modDrv { src = fetchurl { urls = [ @@ -20,15 +21,6 @@ with pkgs; let }; }; - electricalTrains = modDrv { - src = fetchurl { - urls = [ - "https://cloud.pub.solar/s/oHXWpoi7kD52Dzt/download/Realistic_Electric_Trains_Krastorio_2_1.0.0.zip" - ]; - sha256 = "ujO5qRHzKgxX/vsYYvoBjh1UKukGD31FvjLQZzCqxlk="; - }; - }; - krastorio2Assets = modDrv { src = fetchurl { urls = [ @@ -48,6 +40,117 @@ with pkgs; let deps = [flib krastorio2Assets]; }; + + # Alien Biomes + alienBiomes = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/FH22nM54PfcTios/download/alien-biomes_0.6.8.zip" + ]; + sha256 = "oy7VeSIxJmTNmpu/0tGqhbrfPFoJRQc5eS6eI/Epp1A="; + }; + }; + + # Auto Deconstruct + autoDeconstruct = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/fSLQCfRGFKTbQSw/download/AutoDeconstruct_0.3.7.zip" + ]; + sha256 = "VYgLhfWSaWtbY8l+c+9v498IPA/Q7XdRveEsw/pxuJw="; + }; + }; + + # Cargo Ships + cargoShips = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/tcYXBymFT8idCdb/download/cargo-ships_0.1.22.zip" + ]; + sha256 = "pfP97myiibmp00o75Yo9rVYS6cYKgflGiRNsP+FTjFU="; + }; + }; + + # Electrical Trains + electricalTrains = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/oHXWpoi7kD52Dzt/download/Realistic_Electric_Trains_Krastorio_2_1.0.0.zip" + ]; + sha256 = "ujO5qRHzKgxX/vsYYvoBjh1UKukGD31FvjLQZzCqxlk="; + }; + }; + + # far reach + farReach = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/KAqfr826ccHHRpG/download/far-reach_1.1.2.zip" + ]; + sha256 = "y1XuduS9WKMtGKLj7hQgh7wOy8l3l5WWlLTm6BJ1yxA="; + }; + }; + + # Fluid Must Flow + fluidMustFlow = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/J2XA4jPNNWxSSti/download/FluidMustFlow_1.3.1.zip" + ]; + sha256 = "X2dGJCFL1dRRP7BFhFKI7mgtFd4zjHYWO8ehII6aaDc="; + }; + }; + + # Recipe Book + recipeBook = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/oRQYJ4H7xkc3rtq/download/RecipeBook_3.5.2.zip" + ]; + sha256 = "dPj9FH0r4dXtdrXyAkVIwXveECCBzcVGlJmQsF0oSpE="; + }; + }; + + # Regenerate Terrain + regenerateTerrain = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/YWTEB6rQeptmxGL/download/regenerate-terrain_0.3.1.zip" + ]; + sha256 = "EIZQeTzHAvSEFAOh6pN0Xd5GbqV9O/wI2QA5YtR8GxU="; + }; + }; + + # Space Exploration + spaceExploration = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/yy79DMAQtqCcWYW/download/space-exploration_0.6.104.zip" + ]; + sha256 = "5vFD+6R4jqp2PH6ASa1JJ0+acXi+dBwyrM/xil8RyU0="; + }; + }; + + # Todo List + todoList = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/bJjpgSMamwex7pF/download/Todo-List_19.3.0.zip" + ]; + sha256 = "0QPp7W2OOrkpLs+fOvTxut+6rV0heZdfEA4sbvyb+rs="; + }; + }; + + # Vehicle Snap + vehicleSnap = modDrv { + src = fetchurl { + urls = [ + "https://cloud.pub.solar/s/ZgDTAgY4dxiwZ3d/download/VehicleSnap_1.18.5.zip" + ]; + sha256 = "VRo2feta/CZGXGHbOwLOWdXZUoiqwlLPne0dC3YPyDA="; + }; + }; + in rec { services.factorio = { @@ -57,6 +160,19 @@ in rec game-name = "pub.solar Factorio"; game-password = "pub.solar"; admins = ["hensoko"]; - mods = [electricalTrains krastorio2]; + mods = [ + krastorio2 + alienBiomes + autoDeconstruct + cargoShips + electricalTrains + farReach + fluidMustFlow + recipeBook + regenerateTerrain + spaceExploration + todoList + vehicleSnap + ]; }; }