Nix configurations for my homelab
0

Configure Feed

Select the types of activity you want to include in your feed.

Update configs for cobblemon server

+337 -11
+6 -6
flake.lock
··· 149 149 ] 150 150 }, 151 151 "locked": { 152 - "lastModified": 1777258755, 153 - "narHash": "sha256-EC07KwADRE2LdIk7vEDyAaD3I0ZUq24T9jQF9L0iEPk=", 152 + "lastModified": 1777308348, 153 + "narHash": "sha256-DJx9wnerjsOqKOo8I7/u5ENRhRWFF2mbYcACF+mn5LU=", 154 154 "owner": "nix-community", 155 155 "repo": "home-manager", 156 - "rev": "7f8bbc93d63401e41368d6ddc46a4f631610fa90", 156 + "rev": "a28e848a01044f47679453aae75f6253bef7903e", 157 157 "type": "github" 158 158 }, 159 159 "original": { ··· 379 379 }, 380 380 "nixpkgs_3": { 381 381 "locked": { 382 - "lastModified": 1777238095, 383 - "narHash": "sha256-wyaAOqFhxYmtTb/Gb/+hegVJ3MnwOJjX9aqsQT3+R38=", 382 + "lastModified": 1777282418, 383 + "narHash": "sha256-d9n+0hStOP1OsXshp11saXi6Pj2e+OaDQSJJoT9x66E=", 384 384 "owner": "NixOS", 385 385 "repo": "nixpkgs", 386 - "rev": "c4073437f5ffeaeee270c37a2eddf370658d1332", 386 + "rev": "dfa1e6982e80e1b6a887a4e8d9f45dc9c98ede4d", 387 387 "type": "github" 388 388 }, 389 389 "original": {
+17
modules/services/minecraft/yembina/BlossomMods/BlossomBack.json
··· 1 + { 2 + "back": { 3 + "enabled": true, 4 + "teleportation": null, 5 + "standStill": 5, 6 + "cooldown": 120 7 + }, 8 + "lastDeath": { 9 + "enabled": true, 10 + "teleportation": null, 11 + "standStill": 5, 12 + "cooldown": 120 13 + }, 14 + "separateCooldowns": true, 15 + "persistBack": true, 16 + "persistLastDeath": true 17 + }
+271
modules/services/minecraft/yembina/carryon-common.json
··· 1 + { 2 + "settings": { 3 + "//settings": "General Settings", 4 + "//maxDistance": "Maximum distance from where Blocks and Entities can be picked up", 5 + "maxDistance": 2.5, 6 + "//maxEntityWidth": "Max width of entities that can be picked up in survival mode", 7 + "maxEntityWidth": 1.5, 8 + "//maxEntityHeight": "Max height of entities that can be picked up in survival mode", 9 + "maxEntityHeight": 2.5, 10 + "//blockSlownessMultiplier": "Slowness multiplier for blocks", 11 + "blockSlownessMultiplier": 1.0, 12 + "//entitySlownessMultiplier": "Slowness multiplier for entities", 13 + "entitySlownessMultiplier": 1.0, 14 + "//maxEntityStackLimit": "Maximum stack limit for entities", 15 + "maxEntityStackLimit": 10, 16 + "//heavyTiles": "More complex Tile Entities slow down the player more", 17 + "heavyTiles": true, 18 + "//pickupAllBlocks": "Allow all blocks to be picked up, not just Tile Entites. White/Blacklist will still be respected.", 19 + "pickupAllBlocks": false, 20 + "//slownessInCreative": "Whether Blocks and Entities slow the creative player down when carried", 21 + "slownessInCreative": true, 22 + "//pickupHostileMobs": "Whether hostile mobs should be able to picked up in survival mode", 23 + "pickupHostileMobs": false, 24 + "//heavyEntities": "Larger Entities slow down the player more", 25 + "heavyEntities": true, 26 + "//allowBabies": "Allow babies to be carried even when adult mob is blacklisted (or not whitelisted)", 27 + "allowBabies": false, 28 + "//useWhitelistBlocks": "Use Whitelist instead of Blacklist for Blocks", 29 + "useWhitelistBlocks": false, 30 + "//useWhitelistEntities": "Use Whitelist instead of Blacklist for Entities", 31 + "useWhitelistEntities": false, 32 + "//useWhitelistStacking": "Use Whitelist instead of Blacklist for Stacking", 33 + "useWhitelistStacking": false, 34 + "//hitWhileCarrying": "Whether the player can hit blocks and entities while carrying or not", 35 + "hitWhileCarrying": false, 36 + "//dropCarriedWhenHit": "Whether the player drops the carried object when hit or not", 37 + "dropCarriedWhenHit": false, 38 + "//useScripts": "Use custom Pickup Scripts. Having this set to false, will not allow you to run scripts, but will increase your performance", 39 + "useScripts": false, 40 + "//stackableEntities": "Allows entities to be stacked on top of each other", 41 + "stackableEntities": true, 42 + "//entitySizeMattersStacking": "Whether entities' size matters when stacking or not. This means that larger entities cannot be stacked on smaller ones", 43 + "entitySizeMattersStacking": true, 44 + "//placementStateExceptions": "Usually all the block state information is retained when placing a block that was picked up. But some information is changed to a modified property, like rotation or orientation. In this list, add additional properties that should NOT be saved and instead be updated when placed. Format: modid:block[propertyname]. Note: You don't need to add an entry for every subtype of a same block. For example, we only add an entry for one type of slab, but the change is applied to all slabs.", 45 + "placementStateExceptions": [ 46 + "minecraft:chest[type]", 47 + "minecraft:stone_button[face]", 48 + "minecraft:vine[north,east,south,west,up]", 49 + "minecraft:creeper_head[rotation]", 50 + "minecraft:glow_lichen[north,east,south,west,up,down]", 51 + "minecraft:oak_sign[rotation]", 52 + "minecraft:oak_trapdoor[half]" 53 + ], 54 + "//pickupPlayers": "Whether Players can be picked up. Creative players can't be picked up in Survival Mode", 55 + "pickupPlayers": true, 56 + "//pickupUnbreakableBlocks": "Whether players in Survival Mode can pick up unbreakable blocks. Creative players always can.", 57 + "pickupUnbreakableBlocks": false 58 + }, 59 + "whitelist": { 60 + "//whitelist": "Whitelist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config", 61 + "//allowedEntities": "Entities that CAN be picked up (useWhitelistEntities must be true)", 62 + "allowedEntities": [], 63 + "//allowedBlocks": "Blocks that CAN be picked up (useWhitelistBlocks must be true)", 64 + "allowedBlocks": [], 65 + "//allowedStacking": "Entities that CAN have other entities stacked on top of them (useWhitelistStacking must be true)", 66 + "allowedStacking": [] 67 + }, 68 + "blacklist": { 69 + "//blacklist": "Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config", 70 + "//forbiddenTiles": "Blocks that cannot be picked up", 71 + "forbiddenTiles": [ 72 + "#forge:immovable", 73 + "#forge:relocation_not_supported", 74 + "#neoforge:immovable", 75 + "#neoforge:relocation_not_supported", 76 + "minecraft:end_portal", 77 + "minecraft:piston_head", 78 + "#c:relocation_not_supported", 79 + "minecraft:end_gateway", 80 + "minecraft:tall_grass", 81 + "minecraft:large_fern", 82 + "minecraft:peony", 83 + "minecraft:rose_bush", 84 + "minecraft:lilac", 85 + "minecraft:sunflower", 86 + "minecraft:*_bed", 87 + "minecraft:*_door", 88 + "minecraft:big_dripleaf_stem", 89 + "minecraft:waterlily", 90 + "minecraft:cake", 91 + "minecraft:nether_portal", 92 + "minecraft:tall_seagrass", 93 + "animania:block_trough", 94 + "animania:block_invisiblock", 95 + "colossalchests:*", 96 + "ic2:*", 97 + "bigreactors:*", 98 + "forestry:*", 99 + "tconstruct:*", 100 + "rustic:*", 101 + "botania:*", 102 + "astralsorcery:*", 103 + "quark:colored_bed_*", 104 + "immersiveengineering:*", 105 + "embers:block_furnace", 106 + "embers:ember_bore", 107 + "embers:ember_activator", 108 + "embers:mixer", 109 + "embers:heat_coil", 110 + "embers:large_tank", 111 + "embers:crystal_cell", 112 + "embers:alchemy_pedestal", 113 + "embers:boiler", 114 + "embers:combustor", 115 + "embers:catalzyer", 116 + "embers:field_chart", 117 + "embers:inferno_forge", 118 + "storagedrawers:framingtable", 119 + "skyresources:*", 120 + "lootbags:*", 121 + "exsartagine:*", 122 + "aquamunda:tank", 123 + "opencomputers:*", 124 + "malisisdoors:*", 125 + "industrialforegoing:*", 126 + "minecolonies:*", 127 + "thaumcraft:pillar*", 128 + "thaumcraft:infernal_furnace", 129 + "thaumcraft:placeholder*", 130 + "thaumcraft:infusion_matrix", 131 + "thaumcraft:golem_builder", 132 + "thaumcraft:thaumatorium*", 133 + "magneticraft:oil_heater", 134 + "magneticraft:solar_panel", 135 + "magneticraft:steam_engine", 136 + "magneticraft:shelving_unit", 137 + "magneticraft:grinder", 138 + "magneticraft:sieve", 139 + "magneticraft:solar_tower", 140 + "magneticraft:solar_mirror", 141 + "magneticraft:container", 142 + "magneticraft:pumpjack", 143 + "magneticraft:solar_panel", 144 + "magneticraft:refinery", 145 + "magneticraft:oil_heater", 146 + "magneticraft:hydraulic_press", 147 + "magneticraft:multiblock_gap", 148 + "refinedstorage:*", 149 + "mcmultipart:*", 150 + "enderstorage:*", 151 + "betterstorage:*", 152 + "practicallogistics2:*", 153 + "wearablebackpacks:*", 154 + "rftools:screen", 155 + "rftools:creative_screen", 156 + "create:*", 157 + "magic_doorknob:*", 158 + "iceandfire:*", 159 + "ftbquests:*", 160 + "waystones:*", 161 + "contact:*", 162 + "framedblocks:*", 163 + "securitycraft:*", 164 + "forgemultipartcbe:*", 165 + "integrateddynamics:cable", 166 + "mekanismgenerators:wind_generator", 167 + "cookingforblockheads:cabinet", 168 + "cookingforblockheads:corner", 169 + "cookingforblockheads:counter", 170 + "cookingforblockheads:oven", 171 + "cookingforblockheads:toaster", 172 + "cookingforblockheads:milk_jar", 173 + "cookingforblockheads:cow_jar", 174 + "cookingforblockheads:fruit_basket", 175 + "cookingforblockheads:cooking_table", 176 + "cookingforblockheads:fridge", 177 + "cookingforblockheads:sink", 178 + "chipped:*", 179 + "irons_spellbooks:*", 180 + "create*:*", 181 + "simple_pipes:*", 182 + "libmultipart:*", 183 + "quark:tiny_potato", 184 + "ait:*", 185 + "vampirism:*", 186 + "extrastorage:*", 187 + "relics:researching_table", 188 + "sophisticatedstorage:*chest", 189 + "powah:*", 190 + "advancementtrophies:trophy", 191 + "mekanismgenerators:heat_generator", 192 + "mna:filler_block", 193 + "create_enchantment_industry:*", 194 + "graveyard:*", 195 + "immersivepetroleum:*", 196 + "tardis:interior_door", 197 + "cuffed:*", 198 + "littletiles:*", 199 + "butchersdelight:*", 200 + "irons_spellbooks:*", 201 + "extended_drawers:*", 202 + "functionalstorage:*", 203 + "sophisticatedstorage:*", 204 + "sophisticatedbackpacks:*", 205 + "farmersdelight:*", 206 + "modern_industrialization:*_cable", 207 + "modern_industrialization:item_pipe", 208 + "modern_industrialization:*_item_pipe", 209 + "modern_industrialization:fluid_pipe", 210 + "modern_industrialization:*_fluid_pipe", 211 + "snowrealmagic:*" 212 + ], 213 + "//forbiddenEntities": "Entities that cannot be picked up", 214 + "forbiddenEntities": [ 215 + "#c:capturing_not_supported", 216 + "#c:teleporting_not_supported", 217 + "minecraft:end_crystal", 218 + "minecraft:ender_dragon", 219 + "minecraft:ghast", 220 + "minecraft:fireball", 221 + "minecraft:small_fireball", 222 + "minecraft:whither_skull", 223 + "minecraft:shulker", 224 + "minecraft:leash_knot", 225 + "minecraft:armor_stand", 226 + "minecraft:whither_skull_dangerous", 227 + "minecraft:dragon_fireball", 228 + "minecraft:item_frame", 229 + "minecraft:painting", 230 + "minecraft:shulker_bullet", 231 + "minecraft:evoker_fangs", 232 + "minecraft:glow_item_frame", 233 + "minecraft:tnt", 234 + "minecraft:trident", 235 + "minecraft:arrow", 236 + "minecraft:spectral_arrow", 237 + "minecraft:interaction", 238 + "minecraft:marker", 239 + "minecraft:block_display", 240 + "minecraft:item_display", 241 + "minecraft:text_display", 242 + "animania:hamster", 243 + "animania:ferret*", 244 + "animania:hedgehog*", 245 + "animania:cart", 246 + "animania:wagon", 247 + "mynko:*", 248 + "pixelmon:*", 249 + "mocreatures:*", 250 + "quark:totem", 251 + "vehicle:*", 252 + "securitycraft:*", 253 + "taterzens:npc", 254 + "easy_npc:*", 255 + "bodiesbodies:dead_body", 256 + "littletiles:*" 257 + ], 258 + "//forbiddenStacking": "Entities that cannot have other entities stacked on top of them", 259 + "forbiddenStacking": [ 260 + "minecraft:horse" 261 + ] 262 + }, 263 + "customPickupConditions": { 264 + "//customPickupConditions": "Custom Pickup Conditions. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Custom-Pickup-Condition-Config", 265 + "//customPickupConditionsBlocks": "Custom Pickup Conditions for Blocks", 266 + "customPickupConditionsBlocks": [], 267 + "//customPickupConditionsEntities": "Custom Pickup Conditions for Entities", 268 + "customPickupConditionsEntities": [] 269 + } 270 + } 271 +
+19 -5
modules/services/minecraft/yembina/default.nix
··· 1 - { pkgs, ... }: 1 + { lib, pkgs, ... }: 2 2 { 3 3 networking.firewall = { 4 4 allowedTCPPorts = [ 25566 ]; ··· 8 8 services.minecraft-servers.servers.yembina = 9 9 let 10 10 modpack = pkgs.fetchModrinthModpack { 11 - url = "https://cobblemon.yeem.pink/m/cobblemon-3.0.0.mrpack"; 12 - packHash = "sha256-Ynmxy68h7PdU5YjN1/uTzFYV6sIsNeu+4bQEP5LPplE="; 11 + url = "https://cobblemon.yeem.pink/m/cobblemon-3.1.0.mrpack"; 12 + packHash = "sha256-K0ydYGedkkfo36Mhpyj4fqquq21odsqKFHc7Vgpel1o="; 13 13 side = "server"; 14 14 }; 15 15 in 16 16 { 17 17 enable = true; 18 18 package = pkgs.fabricServers.fabric-1_21_1; 19 - jvmOpts = "-Xmx4G -Xms1G"; 19 + jvmOpts = lib.strings.concatStringsSep " " [ 20 + "-Xmx6G -Xms6G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions" 21 + "-XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA" 22 + "-XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M" 23 + "-XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods" 24 + "-XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem" 25 + "-XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1" 26 + "-XX:+UseZGC -XX:AllocatePrefetchStyle=1 -XX:-ZProactive -XX:+UseTransparentHugePages" 27 + ]; 20 28 # operators = { 21 29 # yemou.uuid = "12069472-23e7-48a8-b893-461483a4da88"; 22 30 # zombina.uuid = "ad345410-798e-4d70-870a-67e461d7a3a1"; ··· 30 38 }; 31 39 serverProperties = { 32 40 allow-flight = true; 33 - difficulty = "normal"; 41 + broadcast-console-to-ops = true; 42 + broadcast-rcon-to-ops = true; 43 + difficulty = "easy"; 34 44 enforce-whitelist = true; 35 45 motd = "cobblemon private server"; 36 46 server-ip = "::"; 37 47 server-port = 25566; 38 48 spawn-protection = 0; 49 + sync-chunk-writes = false; 39 50 white-list = true; 40 51 require-resource-pack = false; 41 52 resource-pack = "https://cobblemon.yeem.pink/r/resources-3.0.0.zip"; ··· 48 59 }; 49 60 files = { 50 61 "config" = "${modpack}/config"; 62 + "config/BlossomMods/BlossomBack.json" = ./BlossomMods/BlossomBack.json; 63 + "config/carryon-common.json" = ./carryon-common.json; 51 64 "config/cobblemon_smartphone.json" = ./cobblemon_smartphone.json; 52 65 "config/cobblemonsizevariation/config.json" = ./cobblemon-size-variation.json; 53 66 "config/fightorflight.json5" = ./fightorflight.json5; 67 + "config/mega_showdown/config.json" = ./mega_showdown/config.json; 54 68 "config/rctmod-server.toml" = ./rctmod-server.toml; 55 69 "config/rightclickharvest.json5" = ./rightclickharvest.json5; 56 70 "config/toughasnails/temperature.toml" = ./toughasnails/temperature.toml;
+24
modules/services/minecraft/yembina/mega_showdown/config.json
··· 1 + { 2 + "teraShardRequired": 50, 3 + "multipleMegas": false, 4 + "showdownFilesLoading": true, 5 + "mega": true, 6 + "zMoves": true, 7 + "teralization": true, 8 + "dynamax": true, 9 + "powerSpotRange": 20, 10 + "dynamaxAnywhere": false, 11 + "dynamaxScaleFactor": 4.0, 12 + "teraShardDropRate": 10.0, 13 + "stellarShardDropRate": 1.0, 14 + "likoPendentDuration": 3600, 15 + "minBondingRequired": 200, 16 + "outSideMega": true, 17 + "outSideUltraBurst": true, 18 + "teraHats": true, 19 + "legacyTeraEffect": false, 20 + "showBattleHUD": true, 21 + "showStatChanges": true, 22 + "showMoveTooltips": true, 23 + "debugMode": false 24 + }