nixos-config/pkgs/factorio-headless/default.nix
Leonardo Eugênio 9fd65b02ba factorio: update
2025-03-12 11:40:54 -03:00

11 lines
325 B
Nix

{ factorio-headless, pkgs }:
factorio-headless.overrideAttrs (_: rec {
version = "2.0.32";
src = pkgs.fetchurl {
name = "factorio_headless_x64-${version}.tar.xz";
url = "https://www.factorio.com/get-download/${version}/headless/linux64";
hash = "sha256-KmECrkLcxej+kjvWi80yalaeNZEqzeEhMB5dTS2FZBc=";
};
})