grimm-nixos-laptop/overlays/factorio.nix
2024-08-15 14:59:23 +02:00

9 lines
221 B
Nix

{ lib, prev, ... }:
let
loginFile = ./factorioLogin.nix;
in
{
factorio = prev.factorio.override (
{ versionsJson = ./versions.json; } // lib.optionalAttrs (builtins.pathExists loginFile) (import loginFile)
);
}