---
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: "dictd",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (13, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (15, 5),
           },
           Raw {
            content: "dictd",
            position: (15, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (17, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (17, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (18, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (18, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (18, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (19, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (19, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (20, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable the DICT.org dictionary server.\n",
                    position: (21, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (17, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "DBs",
               position: (25, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (25, 13),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (26, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (26, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (26, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (26, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "package",
                       position: (26, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (27, 9),
                   },
                  ],
                 },
                 With {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (27, 24),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "dictdDBs",
                      position: (27, 29),
                     },
                    ],
                   },
                   default: None,
                  },
                  target: List {
                   elements: [
                    Variable {
                     identifier: "wiktionary",
                     position: (27, 41),
                    },
                    Variable {
                     identifier: "wordnet",
                     position: (27, 52),
                    },
                   ],
                   position: (27, 39),
                  },
                  position: (27, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (28, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (28, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "with pkgs.dictdDBs; [ wiktionary wordnet ]",
                      position: (28, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (29, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (29, 19),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "[ pkgs.dictdDBs.nld2eng ]",
                      position: (29, 38),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (30, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "List of databases to make available.",
                    position: (30, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (25, 22),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (15, 22),
         },
        ),
       ],
       recursive: false,
       position: (13, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (40, 3),
        },
       ],
      },
      LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "dictdb",
            position: (40, 16),
           },
          ],
         },
         FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "pkgs",
            position: (40, 25),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "dictDBCollector",
              position: (40, 30),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "dictlist",
                 position: (40, 48),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "map",
                position: (40, 59),
               },
               arguments: [
                Function {
                 argument: Some(
                  "x",
                 ),
                 arguments: FunctionArguments {
                  arguments: [],
                  ellipsis: false,
                 },
                 definition: Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "name",
                       position: (41, 16),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "x",
                      position: (41, 23),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "name",
                        position: (41, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "filename",
                       position: (42, 16),
                      },
                     ],
                    },
                    Variable {
                     identifier: "x",
                     position: (42, 27),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (40, 67),
                 },
                 position: (40, 64),
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (42, 34),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "DBs",
                    position: (42, 38),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (40, 46),
           },
          ],
         },
        ),
       ],
       target: FunctionApplication {
        function: Variable {
         identifier: "mkIf",
         position: (43, 6),
        },
        arguments: [
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (43, 11),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "enable",
             position: (43, 15),
            },
           ],
          },
          default: None,
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "environment",
               position: (46, 5),
              },
              Raw {
               content: "systemPackages",
               position: (46, 17),
              },
             ],
            },
            List {
             elements: [
              PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (46, 36),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "dict",
                  position: (46, 41),
                 },
                ],
               },
               default: None,
              },
             ],
             position: (46, 34),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "users",
               position: (48, 5),
              },
              Raw {
               content: "users",
               position: (48, 11),
              },
              Raw {
               content: "dictd",
               position: (48, 17),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "group",
                  position: (49, 9),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "dictd",
                  position: (49, 18),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "description",
                  position: (50, 9),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "DICT.org dictd server",
                  position: (50, 24),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "home",
                  position: (51, 9),
                 },
                ],
               },
               String {
                parts: [
                 Expression {
                  expression: Variable {
                   identifier: "dictdb",
                   position: (51, 19),
                  },
                 },
                 Raw {
                  content: "/share/dictd",
                  position: (51, 26),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "uid",
                  position: (52, 9),
                 },
                ],
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (52, 15),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "ids",
                   position: (52, 22),
                  },
                  Raw {
                   content: "uids",
                   position: (52, 26),
                  },
                  Raw {
                   content: "dictd",
                   position: (52, 31),
                  },
                 ],
                },
                default: None,
               },
              ),
             ],
             recursive: false,
             position: (49, 7),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "users",
               position: (55, 5),
              },
              Raw {
               content: "groups",
               position: (55, 11),
              },
              Raw {
               content: "dictd",
               position: (55, 18),
              },
              Raw {
               content: "gid",
               position: (55, 24),
              },
             ],
            },
            PropertyAccess {
             expression: Variable {
              identifier: "config",
              position: (55, 30),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "ids",
                position: (55, 37),
               },
               Raw {
                content: "gids",
                position: (55, 41),
               },
               Raw {
                content: "dictd",
                position: (55, 46),
               },
              ],
             },
             default: None,
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "systemd",
               position: (57, 5),
              },
              Raw {
               content: "services",
               position: (57, 13),
              },
              Raw {
               content: "dictd",
               position: (57, 22),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "description",
                  position: (58, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "DICT.org Dictionary Server",
                  position: (58, 22),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "wantedBy",
                  position: (59, 7),
                 },
                ],
               },
               List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "multi-user.target",
                    position: (59, 21),
                   },
                  ],
                 },
                ],
                position: (59, 18),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "environment",
                  position: (60, 7),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "LOCALE_ARCHIVE",
                     position: (60, 23),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "/run/current-system/sw/lib/locale/locale-archive",
                     position: (60, 41),
                    },
                   ],
                  },
                 ),
                ],
                recursive: false,
                position: (60, 21),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "serviceConfig",
                  position: (61, 7),
                 },
                 Raw {
                  content: "Type",
                  position: (61, 21),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "forking",
                  position: (61, 29),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "script",
                  position: (62, 7),
                 },
                ],
               },
               String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (62, 19),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "dict",
                      position: (62, 24),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "/sbin/dictd -s -c ",
                  position: (62, 29),
                 },
                 Expression {
                  expression: Variable {
                   identifier: "dictdb",
                   position: (62, 49),
                  },
                 },
                 Raw {
                  content: "/share/dictd/dictd.conf --locale en_US.UTF-8",
                  position: (62, 56),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (57, 30),
            },
           ),
          ],
          recursive: false,
          position: (43, 22),
         },
        ],
       },
       position: (40, 12),
      },
     ),
    ],
    recursive: false,
    position: (9, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}