anchor.diff:    cfg = config.services.factorio;
     factorio = pkgs.factorio-headless;
     name = "Factorio";
  -  stateDir = "/var/lib/factorio";
  +  stateDir = cfg.stateDir;
     mkSavePath = name: "${stateDir}/saves/${name}.zip";
     configFile = pkgs.writeText "factorio.conf" ''
       use-system-read-write-data-directories=true
  
positive.code:     password = cfg.password;
      token = cfg.token;
      game_password = cfg.game-password;
      require_user_verification = true;
      max_upload_in_kilobytes_per_second = 0;
      minimum_latency_in_ticks = 0;
      ignore_player_limit_for_returning_players = false;
  
negative.code:         default = null;
          description = ''
            Game password.
          '';
        };
        requireUserVerification = mkOption {
          type = types.bool;
          default = true;
          description = ''
            When set to true, the server will only allow clients that have a valid factorio.com account.
          '';
        };
        autosave-interval = mkOption {
  