nixos-config/pkgs/factorio-headless/default.nix

11 lines
325 B
Nix
Raw Permalink Normal View History

2024-10-31 19:59:35 -03:00
{ factorio-headless, pkgs }:
factorio-headless.overrideAttrs (_: rec {
2024-11-10 23:25:20 -03:00
version = "2.0.15";
2024-10-31 19:59:35 -03:00
src = pkgs.fetchurl {
name = "factorio_headless_x64-${version}.tar.xz";
url = "https://www.factorio.com/get-download/${version}/headless/linux64";
2024-11-10 23:25:20 -03:00
hash = "sha256-cLRBy4B4EaYFhsARBySMHY164EO9HyNnX8kk+6qlONg=";
2024-10-31 19:59:35 -03:00
};
})