factorio: module fixes

wip/yesman
Eric Litak 8 years ago committed by Joachim Fasting
parent f6b645206f
commit 3531c42e5d
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4
  1. 7
      nixos/modules/services/games/factorio.nix

@ -75,9 +75,10 @@ in
after = [ "network.target" ];
preStart = ''
test -e ${stateDir}/saves/${cfg.saveName}.zip || ${pkgs.factorio-headless}/bin/factorio \
--config=${cfg.configFile} \
--create=${cfg.saveName}
test -e ${stateDir}/saves/${cfg.saveName}.zip || \
${pkgs.factorio-headless}/bin/factorio \
--config=${cfg.configFile} \
--create=${cfg.saveName}
'';
serviceConfig = {

Loading…
Cancel
Save