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

11 lines
325 B
Nix
Raw Normal View History

2024-10-31 19:59:35 -03:00
{ factorio-headless, pkgs }:
factorio-headless.overrideAttrs (_: rec {
2024-12-04 21:55:37 -03:00
version = "2.0.23";
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-12-04 21:55:37 -03:00
hash = "sha256-6Bn8mtbfBhv51L/8kZiN0Y0OOYLIscIsBSXXi9o+8hY=";
2024-10-31 19:59:35 -03:00
};
})