From 93cb40a3a1c2687f5e9472fe104c2f95ac43ca1f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Sep 2016 03:40:23 +0200 Subject: scoping --- ymir/factorio.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ymir/factorio.nix b/ymir/factorio.nix index 950e87e5..75042762 100644 --- a/ymir/factorio.nix +++ b/ymir/factorio.nix @@ -13,7 +13,7 @@ let inherit deps optionalDeps recommendedDeps; }; - mods = rec { + availableMods = rec { autofill = modPortalDrv { id = 354; name = "autofill"; @@ -67,7 +67,7 @@ in { services.factorio = { enable = true; saveName = config.network.hostname; - mods = [ + mods = with availableMods; [ autofill EvoGUI factorio-reach -- cgit v1.2.3