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