{"repo":"IogaMaster/flux","free":true,"listed":false,"github":"https://github.com/IogaMaster/flux","clone":"git clone https://github.com/IogaMaster/flux.git","description":"Create and deploy game servers with nix","language":"Nix","stars":105,"topics":["game-server","gameserver","minecraft","nix","nix-flake","steam","gaming"],"license":"MIT","category":"networking-infra","readme_excerpt":"Flux With flux you can build servers as packages with a simple interface and deploy them with the included module. - 🏗️ Builders that make packaging and running servers simple: - mkGenericServer (builder for any server) - mkMinecraftServer (builder for mcman based servers) - mkSteamServer (wrapper for steamcmd and steam-run) - ⚙️ A module for running servers with additional tools: - 🏭 Runs the server - 🌐 Sets up proxy (playit.gg, ngrok, cloudflare tunnels) - 🫙 Works great on host, nixos-containers, and microvms - 📦 Packages not present in nixpkgs (yet) that are useful for servers. - mcman - playit Why? I set up servers for my friends all of the time, and I became frustrated at the amount of work it took change a vanilla minecraft server to a modded one. So I integrated mcman to make this easy, then I decided to make servers for steam and other random projects. 📦 Installation and Usage Installation is simple: 1. Add flux as an input to your flake 2. Add the exposed overlay to your global pkgs definition, so the builder functions are available. 3. Import the NixOS module flux.nixosModules.default in your host config. 4. Define a server using the module. Example flake.nix 🌱 Using the builder functions: You can create packages that run the server instead of using them in the module: Example minecraft server: Example generic server: Example steam server: 🔨 TODO There is still a lot to do. - Examples ❤️ Contributing Contributions are whole-heartedly welcome! Please feel fre","default_branch":null,"files":null,"tree":[],"storefront":"/r/IogaMaster","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IogaMaster/flux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}