---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "factorio",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "name",
        position: (7, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "Factorio",
        position: (7, 11),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "stateDir",
        position: (8, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "/var/lib/",
        position: (8, 15),
       },
       Expression {
        expression: PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (8, 26),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "stateDirName",
            position: (8, 30),
           },
          ],
         },
         default: None,
        },
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "mkSavePath",
        position: (9, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "name",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: String {
       parts: [
        Expression {
         expression: Variable {
          identifier: "stateDir",
          position: (9, 25),
         },
        },
        Raw {
         content: "/saves/",
         position: (9, 34),
        },
        Expression {
         expression: Variable {
          identifier: "name",
          position: (9, 43),
         },
        },
        Raw {
         content: ".zip",
         position: (9, 48),
        },
       ],
      },
      position: (9, 16),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "configFile",
        position: (10, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (10, 16),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeText",
          position: (10, 21),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "factorio.conf",
          position: (10, 32),
         },
        ],
       },
       String {
        parts: [
         Raw {
          content: "use-system-read-write-data-directories=true\n[path]\nread-data=",
          position: (11, 1),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (13, 17),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "package",
              position: (13, 21),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "/share/factorio/data\nwrite-data=",
          position: (13, 29),
         },
         Expression {
          expression: Variable {
           identifier: "stateDir",
           position: (14, 18),
          },
         },
         Raw {
          content: "\n",
          position: (14, 27),
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "serverSettings",
        position: (16, 3),
       },
      ],
     },
     BinaryOperation {
      operator: Update,
      operands: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "name",
             position: (17, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (17, 12),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "game-name",
              position: (17, 16),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "description",
             position: (18, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (18, 19),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "description",
              position: (18, 23),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "visibility",
             position: (19, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "public",
                position: (20, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (20, 16),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "public",
                 position: (20, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "lan",
                position: (21, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (21, 13),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "lan",
                 position: (21, 17),
                },
               ],
              },
              default: None,
             },
            ),
           ],
           recursive: false,
           position: (19, 18),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "username",
             position: (23, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (23, 16),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "username",
              position: (23, 20),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "password",
             position: (24, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (24, 16),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "password",
              position: (24, 20),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "token",
             position: (25, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (25, 13),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "token",
              position: (25, 17),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "game_password",
             position: (26, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (26, 21),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "game-password",
              position: (26, 25),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "require_user_verification",
             position: (27, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (27, 33),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "requireUserVerification",
              position: (27, 37),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "max_upload_in_kilobytes_per_second",
             position: (28, 5),
            },
           ],
          },
          Int {
           value: 0,
           position: (28, 42),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "minimum_latency_in_ticks",
             position: (29, 5),
            },
           ],
          },
          Int {
           value: 0,
           position: (29, 32),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "ignore_player_limit_for_returning_players",
             position: (30, 5),
            },
           ],
          },
          Variable {
           identifier: "false",
           position: (30, 49),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "allow_commands",
             position: (31, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "admins-only",
             position: (31, 23),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "autosave_interval",
             position: (32, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (32, 25),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "autosave-interval",
              position: (32, 29),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "autosave_slots",
             position: (33, 5),
            },
           ],
          },
          Int {
           value: 5,
           position: (33, 22),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "afk_autokick_interval",
             position: (34, 5),
            },
           ],
          },
          Int {
           value: 0,
           position: (34, 29),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "auto_pause",
             position: (35, 5),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (35, 18),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "only_admins_can_pause_the_game",
             position: (36, 5),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (36, 38),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "autosave_only_on_server",
             position: (37, 5),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (37, 31),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "non_blocking_saving",
             position: (38, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (38, 27),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "nonBlockingSaving",
              position: (38, 31),
             },
            ],
           },
           default: None,
          },
         ),
        ],
        recursive: false,
        position: (16, 20),
       },
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (39, 8),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "extraSettings",
           position: (39, 12),
          },
         ],
        },
        default: None,
       },
      ],
      position: (39, 5),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "serverSettingsFile",
        position: (40, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (40, 24),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeText",
          position: (40, 29),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "server-settings.json",
          position: (40, 40),
         },
        ],
       },
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "builtins",
          position: (40, 63),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "toJSON",
            position: (40, 72),
           },
          ],
         },
         default: None,
        },
        arguments: [
         FunctionApplication {
          function: Variable {
           identifier: "filterAttrsRecursive",
           position: (40, 80),
          },
          arguments: [
           Function {
            argument: Some(
             "n",
            ),
            arguments: FunctionArguments {
             arguments: [],
             ellipsis: false,
            },
            definition: Function {
             argument: Some(
              "v",
             ),
             arguments: FunctionArguments {
              arguments: [],
              ellipsis: false,
             },
             definition: BinaryOperation {
              operator: NotEqualTo,
              operands: [
               Variable {
                identifier: "v",
                position: (40, 108),
               },
               Variable {
                identifier: "null",
                position: (40, 113),
               },
              ],
              position: (40, 110),
             },
             position: (40, 105),
            },
            position: (40, 102),
           },
           Variable {
            identifier: "serverSettings",
            position: (40, 119),
           },
          ],
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "serverAdminsFile",
        position: (41, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (41, 22),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeText",
          position: (41, 27),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "server-adminlist.json",
          position: (41, 38),
         },
        ],
       },
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "builtins",
          position: (41, 62),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "toJSON",
            position: (41, 71),
           },
          ],
         },
         default: None,
        },
        arguments: [
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (41, 78),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "admins",
             position: (41, 82),
            },
           ],
          },
          default: None,
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "modDir",
        position: (42, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (42, 12),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "factorio-utils",
          position: (42, 17),
         },
         Raw {
          content: "mkModDirDrv",
          position: (42, 32),
         },
        ],
       },
       default: None,
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (42, 44),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "mods",
           position: (42, 48),
          },
         ],
        },
        default: None,
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (45, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (46, 5),
           },
           Raw {
            content: "factorio",
            position: (46, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (47, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (47, 16),
             },
             arguments: [
              Variable {
               identifier: "name",
               position: (47, 31),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "port",
               position: (48, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (48, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (49, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (49, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "int",
                     position: (49, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (50, 9),
                   },
                  ],
                 },
                 Int {
                  value: 34197,
                  position: (50, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (51, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The port to which the service should bind.\n",
                    position: (52, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (48, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "admins",
               position: (56, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (56, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (57, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (57, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (57, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (57, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (58, 9),
                   },
                  ],
                 },
                 List {
                  elements: [],
                  position: (58, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (59, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "username",
                      position: (59, 22),
                     },
                    ],
                   },
                  ],
                  position: (59, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (60, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "List of player names which will be admin.\n",
                    position: (61, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (56, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "openFirewall",
               position: (65, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (65, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (66, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (66, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (66, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (67, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (67, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (68, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to automatically open the specified UDP port in the firewall.\n",
                    position: (69, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (65, 31),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "saveName",
               position: (72, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (72, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (73, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (73, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (73, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (74, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "default",
                    position: (74, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (75, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The name of the savegame that will be used by the server.\n\nWhen not present in /var/lib/",
                    position: (76, 1),
                   },
                   Raw {
                    content: "$",
                    position: (78, 40),
                   },
                   Raw {
                    content: "{config.services.factorio.stateDirName}/saves,\na new map with default settings will be generated before starting the service.\n",
                    position: (78, 43),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (72, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "configFile",
               position: (86, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (86, 20),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (87, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (87, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (87, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (88, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "configFile",
                  position: (88, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (89, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (89, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "configFile",
                      position: (89, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (90, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The server's configuration file.\n\nThe default file generated by this module contains lines essential to\nthe server's operation. Use its contents as a basis for any\ncustomizations.\n",
                    position: (91, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (86, 29),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "stateDirName",
               position: (98, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (98, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (99, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (99, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (99, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (100, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "factorio",
                    position: (100, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (101, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Name of the directory under /var/lib holding the server's data.\n\nThe configuration and map will be stored here.\n",
                    position: (102, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (98, 31),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "mods",
               position: (107, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (107, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (108, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (108, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (108, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (108, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "package",
                       position: (108, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (109, 9),
                   },
                  ],
                 },
                 List {
                  elements: [],
                  position: (109, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (110, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Mods the server should install and activate.\n\nThe derivations in this list must \"build\" the mod by simply copying\nthe .zip, named correctly, into the output directory. Eventually,\nthere will be a way to pull in the most up-to-date list of\nderivations via nixos-channel. Until then, this is for experts only.\n",
                    position: (111, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (107, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "game-name",
               position: (119, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (119, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (120, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (120, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (120, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (120, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (120, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (121, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Factorio Game",
                    position: (121, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (122, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Name of the game as it will appear in the game listing.\n",
                    position: (123, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (119, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "description",
               position: (126, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (126, 21),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (127, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (127, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (127, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (127, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (127, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (128, 9),
                   },
                  ],
                 },
                 String {
                  parts: [],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (129, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Description of the game that will appear in the listing.\n",
                    position: (130, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (126, 30),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "extraSettings",
               position: (133, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (133, 23),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (134, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (134, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "attrs",
                     position: (134, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (135, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [],
                  recursive: false,
                  position: (135, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (136, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "admins",
                       position: (136, 21),
                      },
                     ],
                    },
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "username",
                         position: (136, 33),
                        },
                       ],
                      },
                     ],
                     position: (136, 30),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (136, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (137, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Extra game configuration that will go into server-settings.json\n",
                    position: (138, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (133, 32),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "public",
               position: (141, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (141, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (142, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (142, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (142, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (143, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (143, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (144, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Game will be published on the official Factorio matching server.\n",
                    position: (145, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (141, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "lan",
               position: (148, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (148, 13),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (149, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (149, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (149, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (150, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (150, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (151, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Game will be broadcast on LAN.\n",
                    position: (152, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (148, 22),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "username",
               position: (155, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (155, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (156, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (156, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (156, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (156, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (156, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (157, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (157, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (158, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Your factorio.com login credentials. Required for games with visibility public.\n",
                    position: (159, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (155, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "package",
               position: (162, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (162, 17),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (163, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (163, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "package",
                     position: (163, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (164, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (164, 19),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "factorio-headless",
                     position: (164, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (165, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (165, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.factorio-headless",
                      position: (165, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (166, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (166, 19),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.factorio-headless-experimental",
                      position: (166, 38),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (167, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Factorio version to use. This defaults to the stable channel.\n",
                    position: (168, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (162, 26),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "password",
               position: (171, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (171, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (172, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (172, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (172, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (172, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (172, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (173, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (173, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (174, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Your factorio.com login credentials. Required for games with visibility public.\n",
                    position: (175, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (171, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "token",
               position: (178, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (178, 15),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (179, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (179, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (179, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (179, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (179, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (180, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (180, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (181, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Authentication token. May be used instead of 'password' above.\n",
                    position: (182, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (178, 24),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "game-password",
               position: (185, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (185, 23),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (186, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (186, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (186, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (186, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (186, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (187, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (187, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (188, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Game password.\n",
                    position: (189, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (185, 32),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "requireUserVerification",
               position: (192, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (192, 33),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (193, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (193, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (193, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (194, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (194, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (195, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "When set to true, the server will only allow clients that have a valid factorio.com account.\n",
                    position: (196, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (192, 42),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "autosave-interval",
               position: (199, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (199, 27),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (200, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (200, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (200, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (200, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "int",
                       position: (200, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (201, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (201, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (202, 9),
                   },
                  ],
                 },
                 Int {
                  value: 10,
                  position: (202, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (203, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Autosave interval in minutes.\n",
                    position: (204, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (199, 36),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "nonBlockingSaving",
               position: (207, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (207, 27),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (208, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (208, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (208, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (209, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (209, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (210, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Highly experimental feature, enable only at your own risk of losing your saves.\nOn UNIX systems, server will fork itself to create an autosave.\nAutosaving on connected Windows clients will be disabled regardless of autosave_only_on_server option.\n",
                    position: (211, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (207, 36),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (46, 25),
         },
        ),
       ],
       recursive: false,
       position: (45, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (219, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (219, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (219, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (219, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (220, 5),
             },
             Raw {
              content: "services",
              position: (220, 13),
             },
             Raw {
              content: "factorio",
              position: (220, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (221, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Factorio headless server",
                 position: (221, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (222, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (222, 26),
                  },
                 ],
                },
               ],
               position: (222, 23),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (223, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (223, 26),
                  },
                 ],
                },
               ],
               position: (223, 23),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "preStart",
                 position: (225, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "toString",
                position: (225, 18),
               },
               arguments: [
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "test -e ",
                     position: (226, 10),
                    },
                    Expression {
                     expression: Variable {
                      identifier: "stateDir",
                      position: (226, 20),
                     },
                    },
                    Raw {
                     content: "/saves/",
                     position: (226, 29),
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (226, 38),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "saveName",
                         position: (226, 42),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: ".zip",
                     position: (226, 51),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "||",
                     position: (227, 10),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (228, 12),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (228, 16),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/bin/factorio",
                     position: (228, 24),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "--config=",
                     position: (229, 12),
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (229, 23),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "configFile",
                         position: (229, 27),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "--create=",
                     position: (230, 12),
                    },
                    Expression {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "mkSavePath",
                       position: (230, 23),
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (230, 34),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "saveName",
                           position: (230, 38),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                    },
                   ],
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "optionalString",
                    position: (231, 12),
                   },
                   arguments: [
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (231, 28),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "mods",
                          position: (231, 32),
                         },
                        ],
                       },
                       default: None,
                      },
                      List {
                       elements: [],
                       position: (231, 40),
                      },
                     ],
                     position: (231, 37),
                    },
                    String {
                     parts: [
                      Raw {
                       content: "--mod-directory=",
                       position: (231, 45),
                      },
                      Expression {
                       expression: Variable {
                        identifier: "modDir",
                        position: (231, 63),
                       },
                      },
                     ],
                    },
                   ],
                  },
                 ],
                 position: (225, 27),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (234, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (235, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "always",
                    position: (235, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "KillSignal",
                    position: (236, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "SIGINT",
                    position: (236, 23),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DynamicUser",
                    position: (237, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (237, 23),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StateDirectory",
                    position: (238, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (238, 26),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "stateDirName",
                     position: (238, 30),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "UMask",
                    position: (239, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "0007",
                    position: (239, 18),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (240, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "toString",
                   position: (240, 21),
                  },
                  arguments: [
                   List {
                    elements: [
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (241, 14),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (241, 18),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/factorio",
                        position: (241, 26),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "--config=",
                        position: (242, 12),
                       },
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (242, 23),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "configFile",
                            position: (242, 27),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "--port=",
                        position: (243, 12),
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "toString",
                          position: (243, 21),
                         },
                         arguments: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (243, 30),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "port",
                              position: (243, 34),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                        },
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "--start-server=",
                        position: (244, 12),
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "mkSavePath",
                          position: (244, 29),
                         },
                         arguments: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (244, 40),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "saveName",
                              position: (244, 44),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                        },
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "--server-settings=",
                        position: (245, 12),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "serverSettingsFile",
                         position: (245, 32),
                        },
                       },
                      ],
                     },
                     FunctionApplication {
                      function: Variable {
                       identifier: "optionalString",
                       position: (246, 12),
                      },
                      arguments: [
                       BinaryOperation {
                        operator: NotEqualTo,
                        operands: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (246, 28),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "mods",
                             position: (246, 32),
                            },
                           ],
                          },
                          default: None,
                         },
                         List {
                          elements: [],
                          position: (246, 40),
                         },
                        ],
                        position: (246, 37),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "--mod-directory=",
                          position: (246, 45),
                         },
                         Expression {
                          expression: Variable {
                           identifier: "modDir",
                           position: (246, 63),
                          },
                         },
                        ],
                       },
                      ],
                     },
                     FunctionApplication {
                      function: Variable {
                       identifier: "optionalString",
                       position: (247, 12),
                      },
                      arguments: [
                       BinaryOperation {
                        operator: NotEqualTo,
                        operands: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (247, 28),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "admins",
                             position: (247, 32),
                            },
                           ],
                          },
                          default: None,
                         },
                         List {
                          elements: [],
                          position: (247, 42),
                         },
                        ],
                        position: (247, 39),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "--server-adminlist=",
                          position: (247, 47),
                         },
                         Expression {
                          expression: Variable {
                           identifier: "serverAdminsFile",
                           position: (247, 68),
                          },
                         },
                        ],
                       },
                      ],
                     },
                    ],
                    position: (240, 30),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "NoNewPrivileges",
                    position: (251, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (251, 27),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateTmp",
                    position: (252, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (252, 22),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "PrivateDevices",
                    position: (253, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (253, 26),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectSystem",
                    position: (254, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "strict",
                    position: (254, 26),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectHome",
                    position: (255, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (255, 23),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectControlGroups",
                    position: (256, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (256, 32),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelModules",
                    position: (257, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (257, 32),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ProtectKernelTunables",
                    position: (258, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (258, 33),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictAddressFamilies",
                    position: (259, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "AF_UNIX",
                      position: (259, 38),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "AF_INET",
                      position: (259, 48),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "AF_INET6",
                      position: (259, 58),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "AF_NETLINK",
                      position: (259, 69),
                     },
                    ],
                   },
                  ],
                  position: (259, 35),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictRealtime",
                    position: (260, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (260, 28),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestrictNamespaces",
                    position: (261, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (261, 30),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "MemoryDenyWriteExecute",
                    position: (262, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (262, 34),
                 },
                ),
               ],
               recursive: false,
               position: (234, 23),
              },
             ),
            ],
            recursive: false,
            position: (220, 33),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "networking",
              position: (266, 5),
             },
             Raw {
              content: "firewall",
              position: (266, 16),
             },
             Raw {
              content: "allowedUDPPorts",
              position: (266, 25),
             },
            ],
           },
           IfThenElse {
            predicate: PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (266, 46),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "openFirewall",
                position: (266, 50),
               },
              ],
             },
             default: None,
            },
            then: List {
             elements: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (266, 70),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (266, 74),
                 },
                ],
               },
               default: None,
              },
             ],
             position: (266, 68),
            },
            else_: List {
             elements: [],
             position: (266, 86),
            },
            position: (266, 43),
           },
          ),
         ],
         recursive: false,
         position: (219, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (44, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}