---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "name",
        position: (7, 3),
       },
      ],
     },
     to: String {
      parts: [
       Raw {
        content: "mpd",
        position: (7, 11),
       },
      ],
      position: (7, 10),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "uid",
        position: (9, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (9, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "ids",
         position: (9, 16),
        },
        Raw {
         content: "uids",
         position: (9, 20),
        },
        Raw {
         content: "mpd",
         position: (9, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "gid",
        position: (10, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (10, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "ids",
         position: (10, 16),
        },
        Raw {
         content: "gids",
         position: (10, 20),
        },
        Raw {
         content: "mpd",
         position: (10, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (11, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (11, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (11, 16),
        },
        Raw {
         content: "mpd",
         position: (11, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "credentialsPlaceholder",
        position: (13, 3),
       },
      ],
     },
     to: Parentheses {
      expression: Function {
       argument: Simple {
        identifier: "creds",
       },
       definition: LetIn {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "placeholders",
             position: (15, 7),
            },
           ],
          },
          to: Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "imap0",
             position: (15, 23),
            },
            arguments: [
             Parentheses {
              expression: Function {
               argument: Simple {
                identifier: "i",
               },
               definition: Function {
                argument: Simple {
                 identifier: "c",
                },
                definition: String {
                 parts: [
                  Raw {
                   content: "password \"{{password-",
                   position: (16, 18),
                  },
                  Expression {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "toString",
                     position: (16, 41),
                    },
                    arguments: [
                     Variable {
                      identifier: "i",
                      position: (16, 50),
                     },
                    ],
                   },
                  },
                  Raw {
                   content: "}}@",
                   position: (16, 52),
                  },
                  Expression {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "concatStringsSep",
                     position: (16, 57),
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: ",",
                        position: (16, 75),
                       },
                      ],
                      position: (16, 74),
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "c",
                       position: (16, 78),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "permissions",
                         position: (16, 80),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                   },
                  },
                  Raw {
                   content: "\"",
                   position: (16, 92),
                  },
                 ],
                 position: (16, 16),
                },
                position: (16, 13),
               },
               position: (16, 10),
              },
              position: (16, 9),
             },
             Variable {
              identifier: "creds",
              position: (17, 9),
             },
            ],
           },
           position: (15, 22),
          },
         },
        ],
        target: FunctionApplication {
         function: Variable {
          identifier: "concatStringsSep",
          position: (19, 7),
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: "\n",
             position: (19, 25),
            },
           ],
           position: (19, 24),
          },
          Variable {
           identifier: "placeholders",
           position: (19, 29),
          },
         ],
        },
        position: (14, 5),
       },
       position: (13, 29),
      },
      position: (13, 28),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "mpdConf",
        position: (21, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (21, 13),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeText",
          position: (21, 18),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "mpd.conf",
          position: (21, 29),
         },
        ],
        position: (21, 28),
       },
       String {
        parts: [
         Raw {
          content: "# This file was automatically generated by NixOS. Edit mpd's configuration\n# via NixOS' configuration.nix, as this file will be rewritten upon mpd's\n# restart.\n\nmusic_directory     \"",
          position: (22, 1),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (26, 28),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "musicDirectory",
              position: (26, 32),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\"\nplaylist_directory  \"",
          position: (26, 47),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (27, 28),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "playlistDirectory",
              position: (27, 32),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\"\n",
          position: (27, 50),
         },
         Expression {
          expression: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "lib",
             position: (28, 7),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "optionalString",
               position: (28, 11),
              },
             ],
            },
            default: None,
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (28, 27),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "dbFile",
                   position: (28, 31),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "null",
                position: (28, 41),
               },
              ],
              position: (28, 38),
             },
             position: (28, 26),
            },
            String {
             parts: [
              Raw {
               content: "db_file             \"",
               position: (29, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (29, 30),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "dbFile",
                   position: (29, 34),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\"\n",
               position: (29, 41),
              },
             ],
             position: (28, 47),
            },
           ],
          },
         },
         Raw {
          content: "\nstate_file          \"",
          position: (30, 8),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (31, 28),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "dataDir",
              position: (31, 32),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "/state\"\nsticker_file        \"",
          position: (31, 40),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (32, 28),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "dataDir",
              position: (32, 32),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "/sticker.sql\"\n\n",
          position: (32, 40),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (34, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (34, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "network",
                   position: (34, 27),
                  },
                  Raw {
                   content: "listenAddress",
                   position: (34, 35),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "any",
                  position: (34, 53),
                 },
                ],
                position: (34, 52),
               },
              ],
              position: (34, 49),
             },
             position: (34, 22),
            },
            String {
             parts: [
              Raw {
               content: "bind_to_address \"",
               position: (34, 61),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (34, 80),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "network",
                   position: (34, 84),
                  },
                  Raw {
                   content: "listenAddress",
                   position: (34, 92),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\"",
               position: (34, 106),
              },
             ],
             position: (34, 59),
            },
           ],
          },
         },
         Raw {
          content: "\n",
          position: (34, 110),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (35, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (35, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "network",
                   position: (35, 27),
                  },
                  Raw {
                   content: "port",
                   position: (35, 35),
                  },
                 ],
                },
                default: None,
               },
               Int {
                value: 6600,
                position: (35, 43),
               },
              ],
              position: (35, 40),
             },
             position: (35, 22),
            },
            String {
             parts: [
              Raw {
               content: "port \"",
               position: (35, 52),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (35, 60),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (35, 69),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "network",
                     position: (35, 73),
                    },
                    Raw {
                     content: "port",
                     position: (35, 81),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\"",
               position: (35, 86),
              },
             ],
             position: (35, 50),
            },
           ],
          },
         },
         Raw {
          content: "\n",
          position: (35, 90),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (36, 7),
           },
           arguments: [
            Parentheses {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (36, 23),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "fluidsynth",
                 position: (36, 27),
                },
               ],
              },
              default: None,
             },
             position: (36, 22),
            },
            String {
             parts: [
              Raw {
               content: "decoder {\n        plugin \"fluidsynth\"\n        soundfont \"",
               position: (37, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (39, 28),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "soundfont-fluid",
                   position: (39, 33),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "/share/soundfonts/FluidR3_GM2-2.sf2\"\n}\n",
               position: (39, 49),
              },
             ],
             position: (36, 39),
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (41, 8),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (43, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (43, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "credentials",
                   position: (43, 27),
                  },
                 ],
                },
                default: None,
               },
               List {
                elements: [],
                position: (43, 42),
               },
              ],
              position: (43, 39),
             },
             position: (43, 22),
            },
            Parentheses {
             expression: FunctionApplication {
              function: Variable {
               identifier: "credentialsPlaceholder",
               position: (43, 47),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (43, 70),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "credentials",
                   position: (43, 74),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
             position: (43, 46),
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (43, 87),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (45, 7),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "extraConfig",
              position: (45, 11),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (45, 23),
         },
        ],
        position: (21, 39),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (52, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (54, 5),
           },
           Raw {
            content: "mpd",
            position: (54, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (56, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (56, 16),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (57, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (57, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (58, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (58, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (59, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to enable MPD, the music player daemon.\n",
                    position: (60, 1),
                   },
                  ],
                  position: (59, 23),
                 },
                },
               ],
               recursive: false,
               position: (56, 25),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "startWhenNeeded",
               position: (64, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (64, 25),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (65, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (65, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (65, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (66, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (66, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (67, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "If set, <command>mpd</command> is socket-activated; that\nis, instead of having it permanently running as a daemon,\nsystemd will start it on the first incoming connection.\n",
                    position: (68, 1),
                   },
                  ],
                  position: (67, 23),
                 },
                },
               ],
               recursive: false,
               position: (64, 34),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "musicDirectory",
               position: (74, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (74, 24),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (75, 9),
                   },
                  ],
                 },
                 to: With {
                  expression: Variable {
                   identifier: "types",
                   position: (75, 21),
                  },
                  target: FunctionApplication {
                   function: Variable {
                    identifier: "either",
                    position: (75, 28),
                   },
                   arguments: [
                    Variable {
                     identifier: "path",
                     position: (75, 35),
                    },
                    Parentheses {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "strMatching",
                       position: (75, 41),
                      },
                      arguments: [
                       String {
                        parts: [
                         Raw {
                          content: "(http|https|nfs|smb)://.+",
                          position: (75, 54),
                         },
                        ],
                        position: (75, 53),
                       },
                      ],
                     },
                     position: (75, 40),
                    },
                   ],
                  },
                  position: (75, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (76, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (76, 22),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "dataDir",
                        position: (76, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/music",
                    position: (76, 34),
                   },
                  ],
                  position: (76, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (77, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (77, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "\"",
                      position: (77, 43),
                     },
                     Raw {
                      content: "$",
                      position: (77, 44),
                     },
                     Raw {
                      content: "{dataDir}/music\"",
                      position: (77, 47),
                     },
                    ],
                    position: (77, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (78, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The directory or NFS/SMB network share where MPD reads music from. If left\nas the default value this directory will automatically be created before\nthe MPD server starts, otherwise the sysadmin is responsible for ensuring\nthe directory exists with appropriate ownership and permissions.\n",
                    position: (79, 1),
                   },
                  ],
                  position: (78, 23),
                 },
                },
               ],
               recursive: false,
               position: (74, 33),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "playlistDirectory",
               position: (86, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (86, 27),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (87, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (87, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "path",
                     position: (87, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (88, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (88, 22),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "dataDir",
                        position: (88, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/playlists",
                    position: (88, 34),
                   },
                  ],
                  position: (88, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (89, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (89, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "\"",
                      position: (89, 43),
                     },
                     Raw {
                      content: "$",
                      position: (89, 44),
                     },
                     Raw {
                      content: "{dataDir}/playlists\"",
                      position: (89, 47),
                     },
                    ],
                    position: (89, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (90, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The directory where MPD stores playlists. If left as the default value\nthis directory will automatically be created before the MPD server starts,\notherwise the sysadmin is responsible for ensuring the directory exists\nwith appropriate ownership and permissions.\n",
                    position: (91, 1),
                   },
                  ],
                  position: (90, 23),
                 },
                },
               ],
               recursive: false,
               position: (86, 36),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "extraConfig",
               position: (98, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (98, 21),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (99, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (99, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "lines",
                     position: (99, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (100, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [],
                  position: (100, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (101, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Extra directives added to to the end of MPD's configuration file,\nmpd.conf. Basic configuration like file location and uid/gid\nis added automatically to the beginning of the file. For available\noptions see <literal>man 5 mpd.conf</literal>'.\n",
                    position: (102, 1),
                   },
                  ],
                  position: (101, 23),
                 },
                },
               ],
               recursive: false,
               position: (98, 30),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "dataDir",
               position: (109, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (109, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (110, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (110, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "path",
                     position: (110, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (111, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "/var/lib/",
                    position: (111, 20),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "name",
                     position: (111, 31),
                    },
                   },
                  ],
                  position: (111, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (112, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The directory where MPD stores its state, tag cache, playlists etc. If\nleft as the default value this directory will automatically be created\nbefore the MPD server starts, otherwise the sysadmin is responsible for\nensuring the directory exists with appropriate ownership and permissions.\n",
                    position: (113, 1),
                   },
                  ],
                  position: (112, 23),
                 },
                },
               ],
               recursive: false,
               position: (109, 26),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "user",
               position: (120, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (120, 14),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (121, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (121, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "str",
                     position: (121, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (122, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "name",
                  position: (122, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (123, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "User account under which MPD runs.",
                    position: (123, 24),
                   },
                  ],
                  position: (123, 23),
                 },
                },
               ],
               recursive: false,
               position: (120, 23),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "group",
               position: (126, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (126, 15),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (127, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (127, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "str",
                     position: (127, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (128, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "name",
                  position: (128, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (129, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Group account under which MPD runs.",
                    position: (129, 24),
                   },
                  ],
                  position: (129, 23),
                 },
                },
               ],
               recursive: false,
               position: (126, 24),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "network",
               position: (132, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "listenAddress",
                  position: (134, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (134, 25),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (135, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (135, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "str",
                        position: (135, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (136, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "127.0.0.1",
                       position: (136, 22),
                      },
                     ],
                     position: (136, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "example",
                       position: (137, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "any",
                       position: (137, 22),
                      },
                     ],
                     position: (137, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (138, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "The address for the daemon to listen on.\nUse <literal>any</literal> to listen on all addresses.\n",
                       position: (139, 1),
                      },
                     ],
                     position: (138, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (134, 34),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "port",
                  position: (144, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (144, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (145, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (145, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "int",
                        position: (145, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (146, 11),
                      },
                     ],
                    },
                    to: Int {
                     value: 6600,
                     position: (146, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (147, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "This setting is the TCP port that is desired for the daemon to get assigned\nto.\n",
                       position: (148, 1),
                      },
                     ],
                     position: (147, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (144, 25),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (132, 17),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "dbFile",
               position: (155, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (155, 16),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (156, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (156, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "nullOr",
                      position: (156, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (156, 29),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "str",
                       position: (156, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (157, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (157, 22),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "dataDir",
                        position: (157, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/tag_cache",
                    position: (157, 34),
                   },
                  ],
                  position: (157, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (158, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (158, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "\"",
                      position: (158, 43),
                     },
                     Raw {
                      content: "$",
                      position: (158, 44),
                     },
                     Raw {
                      content: "{dataDir}/tag_cache\"",
                      position: (158, 47),
                     },
                    ],
                    position: (158, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (159, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The path to MPD's database. If set to <literal>null</literal> the\nparameter is omitted from the configuration.\n",
                    position: (160, 1),
                   },
                  ],
                  position: (159, 23),
                 },
                },
               ],
               recursive: false,
               position: (155, 25),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "credentials",
               position: (165, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (165, 21),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (166, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (166, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "listOf",
                      position: (166, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (166, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "submodule",
                         position: (166, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "options",
                            position: (167, 11),
                           },
                          ],
                         },
                         to: Map {
                          bindings: [
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "passwordFile",
                               position: (168, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (168, 28),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (169, 15),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (169, 22),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "path",
                                     position: (169, 28),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (170, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Path to file containing the password.\n",
                                    position: (171, 1),
                                   },
                                  ],
                                  position: (170, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (168, 37),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "permissions",
                               position: (174, 13),
                              },
                             ],
                            },
                            to: LetIn {
                             bindings: [
                              Binding {
                               from: AttributePath {
                                parts: [
                                 Raw {
                                  content: "perms",
                                  position: (175, 15),
                                 },
                                ],
                               },
                               to: List {
                                elements: [
                                 String {
                                  parts: [
                                   Raw {
                                    content: "read",
                                    position: (175, 25),
                                   },
                                  ],
                                  position: (175, 24),
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: "add",
                                    position: (175, 32),
                                   },
                                  ],
                                  position: (175, 31),
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: "control",
                                    position: (175, 38),
                                   },
                                  ],
                                  position: (175, 37),
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: "admin",
                                    position: (175, 48),
                                   },
                                  ],
                                  position: (175, 47),
                                 },
                                ],
                                position: (175, 23),
                               },
                              },
                             ],
                             target: FunctionApplication {
                              function: Variable {
                               identifier: "mkOption",
                               position: (176, 16),
                              },
                              arguments: [
                               Map {
                                bindings: [
                                 Binding {
                                  from: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "type",
                                     position: (177, 15),
                                    },
                                   ],
                                  },
                                  to: FunctionApplication {
                                   function: PropertyAccess {
                                    expression: Variable {
                                     identifier: "types",
                                     position: (177, 22),
                                    },
                                    attribute_path: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "listOf",
                                       position: (177, 28),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                   arguments: [
                                    Parentheses {
                                     expression: FunctionApplication {
                                      function: PropertyAccess {
                                       expression: Variable {
                                        identifier: "types",
                                        position: (177, 36),
                                       },
                                       attribute_path: AttributePath {
                                        parts: [
                                         Raw {
                                          content: "enum",
                                          position: (177, 42),
                                         },
                                        ],
                                       },
                                       default: None,
                                      },
                                      arguments: [
                                       Variable {
                                        identifier: "perms",
                                        position: (177, 47),
                                       },
                                      ],
                                     },
                                     position: (177, 35),
                                    },
                                   ],
                                  },
                                 },
                                 Binding {
                                  from: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "default",
                                     position: (178, 15),
                                    },
                                   ],
                                  },
                                  to: List {
                                   elements: [
                                    String {
                                     parts: [
                                      Raw {
                                       content: "read",
                                       position: (178, 28),
                                      },
                                     ],
                                     position: (178, 27),
                                    },
                                   ],
                                   position: (178, 25),
                                  },
                                 },
                                 Binding {
                                  from: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "description",
                                     position: (179, 15),
                                    },
                                   ],
                                  },
                                  to: String {
                                   parts: [
                                    Raw {
                                     content: "List of permissions that are granted with this password.\nPermissions can be \"",
                                     position: (180, 1),
                                    },
                                    Expression {
                                     expression: FunctionApplication {
                                      function: Variable {
                                       identifier: "concatStringsSep",
                                       position: (181, 39),
                                      },
                                      arguments: [
                                       String {
                                        parts: [
                                         Raw {
                                          content: "\", \"",
                                          position: (181, 57),
                                         },
                                        ],
                                        position: (181, 56),
                                       },
                                       Variable {
                                        identifier: "perms",
                                        position: (181, 65),
                                       },
                                      ],
                                     },
                                    },
                                    Raw {
                                     content: "\".\n",
                                     position: (181, 71),
                                    },
                                   ],
                                   position: (179, 29),
                                  },
                                 },
                                ],
                                recursive: false,
                                position: (176, 25),
                               },
                              ],
                             },
                             position: (174, 27),
                            },
                           },
                          ],
                          recursive: false,
                          position: (167, 21),
                         },
                        },
                       ],
                       recursive: false,
                       position: (166, 46),
                      },
                     ],
                    },
                    position: (166, 29),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (186, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Credentials and permissions for accessing the mpd server.\n",
                    position: (187, 1),
                   },
                  ],
                  position: (186, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (189, 9),
                   },
                  ],
                 },
                 to: List {
                  elements: [],
                  position: (189, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "example",
                    position: (190, 9),
                   },
                  ],
                 },
                 to: List {
                  elements: [
                   Map {
                    bindings: [
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "passwordFile",
                         position: (191, 12),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Raw {
                         content: "/var/lib/secrets/mpd_readonly_password",
                         position: (191, 28),
                        },
                       ],
                       position: (191, 27),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "permissions",
                         position: (191, 69),
                        },
                       ],
                      },
                      to: List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "read",
                           position: (191, 86),
                          },
                         ],
                         position: (191, 85),
                        },
                       ],
                       position: (191, 83),
                      },
                     },
                    ],
                    recursive: false,
                    position: (191, 11),
                   },
                   Map {
                    bindings: [
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "passwordFile",
                         position: (192, 12),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Raw {
                         content: "/var/lib/secrets/mpd_admin_password",
                         position: (192, 28),
                        },
                       ],
                       position: (192, 27),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "permissions",
                         position: (192, 66),
                        },
                       ],
                      },
                      to: List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "read",
                           position: (192, 82),
                          },
                         ],
                         position: (192, 81),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "add",
                           position: (192, 89),
                          },
                         ],
                         position: (192, 88),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "control",
                           position: (192, 95),
                          },
                         ],
                         position: (192, 94),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "admin",
                           position: (192, 105),
                          },
                         ],
                         position: (192, 104),
                        },
                       ],
                       position: (192, 80),
                      },
                     },
                    ],
                    recursive: false,
                    position: (192, 11),
                   },
                  ],
                  position: (190, 19),
                 },
                },
               ],
               recursive: false,
               position: (165, 30),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "fluidsynth",
               position: (196, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (196, 20),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (197, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (197, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (197, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (198, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (198, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (199, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "If set, add fluidsynth soundfont and configure the plugin.\n",
                    position: (200, 1),
                   },
                  ],
                  position: (199, 23),
                 },
                },
               ],
               recursive: false,
               position: (196, 29),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (54, 20),
         },
        },
       ],
       recursive: false,
       position: (52, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (210, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (210, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (210, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (210, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (213, 5),
             },
             Raw {
              content: "packages",
              position: (213, 13),
             },
            ],
           },
           to: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (213, 26),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "mpd",
                 position: (213, 31),
                },
               ],
              },
              default: None,
             },
            ],
            position: (213, 24),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (215, 5),
             },
             Raw {
              content: "sockets",
              position: (215, 13),
             },
             Raw {
              content: "mpd",
              position: (215, 21),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (215, 27),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (215, 32),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "startWhenNeeded",
                 position: (215, 36),
                },
               ],
              },
              default: None,
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "wantedBy",
                   position: (216, 7),
                  },
                 ],
                },
                to: List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "sockets.target",
                     position: (216, 21),
                    },
                   ],
                   position: (216, 20),
                  },
                 ],
                 position: (216, 18),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "listenStreams",
                   position: (217, 7),
                  },
                 ],
                },
                to: List {
                 elements: [
                  Parentheses {
                   expression: IfThenElse {
                    predicate: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "pkgs",
                       position: (218, 13),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "lib",
                         position: (218, 18),
                        },
                        Raw {
                         content: "hasPrefix",
                         position: (218, 22),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      String {
                       parts: [
                        Raw {
                         content: "/",
                         position: (218, 33),
                        },
                       ],
                       position: (218, 32),
                      },
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (218, 36),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "network",
                          position: (218, 40),
                         },
                         Raw {
                          content: "listenAddress",
                          position: (218, 48),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                    then: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (219, 16),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "network",
                        position: (219, 20),
                       },
                       Raw {
                        content: "listenAddress",
                        position: (219, 28),
                       },
                      ],
                     },
                     default: None,
                    },
                    else_: String {
                     parts: [
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "optionalString",
                         position: (220, 19),
                        },
                        arguments: [
                         Parentheses {
                          expression: BinaryOperation {
                           operator: NotEqualTo,
                           operands: [
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (220, 35),
                             },
                             attribute_path: AttributePath {
                              parts: [
                               Raw {
                                content: "network",
                                position: (220, 39),
                               },
                               Raw {
                                content: "listenAddress",
                                position: (220, 47),
                               },
                              ],
                             },
                             default: None,
                            },
                            String {
                             parts: [
                              Raw {
                               content: "any",
                               position: (220, 65),
                              },
                             ],
                             position: (220, 64),
                            },
                           ],
                           position: (220, 61),
                          },
                          position: (220, 34),
                         },
                         String {
                          parts: [
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (220, 74),
                             },
                             attribute_path: AttributePath {
                              parts: [
                               Raw {
                                content: "network",
                                position: (220, 78),
                               },
                               Raw {
                                content: "listenAddress",
                                position: (220, 86),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: ":",
                            position: (220, 100),
                           },
                          ],
                          position: (220, 71),
                         },
                        ],
                       },
                      },
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "toString",
                         position: (220, 105),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (220, 114),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "network",
                             position: (220, 118),
                            },
                            Raw {
                             content: "port",
                             position: (220, 126),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                     ],
                     position: (220, 16),
                    },
                    position: (218, 10),
                   },
                   position: (218, 9),
                  },
                 ],
                 position: (217, 23),
                },
               },
              ],
              recursive: false,
              position: (215, 52),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (224, 5),
             },
             Raw {
              content: "services",
              position: (224, 13),
             },
             Raw {
              content: "mpd",
              position: (224, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (225, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "optional",
                position: (225, 18),
               },
               arguments: [
                Parentheses {
                 expression: UnaryOperation {
                  operator: Not,
                  operand: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (225, 29),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "startWhenNeeded",
                      position: (225, 33),
                     },
                    ],
                   },
                   default: None,
                  },
                  position: (225, 28),
                 },
                 position: (225, 27),
                },
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (225, 51),
                  },
                 ],
                 position: (225, 50),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "preStart",
                 position: (227, 7),
                },
               ],
              },
              to: BinaryOperation {
               operator: Addition,
               operands: [
                String {
                 parts: [
                  Raw {
                   content: "set -euo pipefail\ninstall -m 600 ",
                   position: (229, 1),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "mpdConf",
                    position: (230, 28),
                   },
                  },
                  Raw {
                   content: " /run/mpd/mpd.conf\n",
                   position: (230, 36),
                  },
                 ],
                 position: (228, 9),
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "optionalString",
                  position: (231, 14),
                 },
                 arguments: [
                  Parentheses {
                   expression: BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (231, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "credentials",
                         position: (231, 34),
                        },
                       ],
                      },
                      default: None,
                     },
                     List {
                      elements: [],
                      position: (231, 49),
                     },
                    ],
                    position: (231, 46),
                   },
                   position: (231, 29),
                  },
                  Parentheses {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "concatStringsSep",
                     position: (232, 10),
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: "\n",
                        position: (232, 28),
                       },
                      ],
                      position: (232, 27),
                     },
                     Parentheses {
                      expression: FunctionApplication {
                       function: Variable {
                        identifier: "imap0",
                        position: (233, 12),
                       },
                       arguments: [
                        Parentheses {
                         expression: Function {
                          argument: Simple {
                           identifier: "i",
                          },
                          definition: Function {
                           argument: Simple {
                            identifier: "c",
                           },
                           definition: String {
                            parts: [
                             Expression {
                              expression: PropertyAccess {
                               expression: Variable {
                                identifier: "pkgs",
                                position: (234, 24),
                               },
                               attribute_path: AttributePath {
                                parts: [
                                 Raw {
                                  content: "replace-secret",
                                  position: (234, 29),
                                 },
                                ],
                               },
                               default: None,
                              },
                             },
                             Raw {
                              content: "/bin/replace-secret '{{password-",
                              position: (234, 44),
                             },
                             Expression {
                              expression: FunctionApplication {
                               function: Variable {
                                identifier: "toString",
                                position: (234, 78),
                               },
                               arguments: [
                                Variable {
                                 identifier: "i",
                                 position: (234, 87),
                                },
                               ],
                              },
                             },
                             Raw {
                              content: "}}' ",
                              position: (234, 89),
                             },
                             Raw {
                              content: "'",
                              position: (234, 93),
                             },
                             Expression {
                              expression: PropertyAccess {
                               expression: Variable {
                                identifier: "c",
                                position: (234, 96),
                               },
                               attribute_path: AttributePath {
                                parts: [
                                 Raw {
                                  content: "passwordFile",
                                  position: (234, 98),
                                 },
                                ],
                               },
                               default: None,
                              },
                             },
                             Raw {
                              content: "' /run/mpd/mpd.conf",
                              position: (234, 111),
                             },
                            ],
                            position: (234, 20),
                           },
                           position: (234, 17),
                          },
                          position: (234, 14),
                         },
                         position: (234, 13),
                        },
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (235, 13),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "credentials",
                            position: (235, 17),
                           },
                          ],
                         },
                         default: None,
                        },
                       ],
                      },
                      position: (233, 11),
                     },
                    ],
                   },
                   position: (232, 9),
                  },
                 ],
                },
               ],
               position: (231, 12),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (237, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "User",
                    position: (239, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (239, 21),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "user",
                        position: (239, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                  position: (239, 18),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (241, 11),
                   },
                  ],
                 },
                 to: List {
                  elements: [
                   String {
                    parts: [],
                    position: (241, 25),
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "pkgs",
                        position: (241, 31),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "mpd",
                          position: (241, 36),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/mpd --systemd /run/mpd/mpd.conf",
                      position: (241, 40),
                     },
                    ],
                    position: (241, 28),
                   },
                  ],
                  position: (241, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "RuntimeDirectory",
                    position: (242, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "mpd",
                    position: (242, 31),
                   },
                  ],
                  position: (242, 30),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "StateDirectory",
                    position: (243, 11),
                   },
                  ],
                 },
                 to: BinaryOperation {
                  operator: Concatenation,
                  operands: [
                   List {
                    elements: [],
                    position: (243, 28),
                   },
                   BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "optionals",
                       position: (244, 16),
                      },
                      arguments: [
                       Parentheses {
                        expression: BinaryOperation {
                         operator: EqualTo,
                         operands: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (244, 27),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "dataDir",
                              position: (244, 31),
                             },
                            ],
                           },
                           default: None,
                          },
                          String {
                           parts: [
                            Raw {
                             content: "/var/lib/",
                             position: (244, 43),
                            },
                            Expression {
                             expression: Variable {
                              identifier: "name",
                              position: (244, 54),
                             },
                            },
                           ],
                           position: (244, 42),
                          },
                         ],
                         position: (244, 39),
                        },
                        position: (244, 26),
                       },
                       List {
                        elements: [
                         Variable {
                          identifier: "name",
                          position: (244, 64),
                         },
                        ],
                        position: (244, 62),
                       },
                      ],
                     },
                     BinaryOperation {
                      operator: Concatenation,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "optionals",
                         position: (245, 16),
                        },
                        arguments: [
                         Parentheses {
                          expression: BinaryOperation {
                           operator: EqualTo,
                           operands: [
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (245, 27),
                             },
                             attribute_path: AttributePath {
                              parts: [
                               Raw {
                                content: "playlistDirectory",
                                position: (245, 31),
                               },
                              ],
                             },
                             default: None,
                            },
                            String {
                             parts: [
                              Raw {
                               content: "/var/lib/",
                               position: (245, 53),
                              },
                              Expression {
                               expression: Variable {
                                identifier: "name",
                                position: (245, 64),
                               },
                              },
                              Raw {
                               content: "/playlists",
                               position: (245, 69),
                              },
                             ],
                             position: (245, 52),
                            },
                           ],
                           position: (245, 49),
                          },
                          position: (245, 26),
                         },
                         List {
                          elements: [
                           Variable {
                            identifier: "name",
                            position: (245, 84),
                           },
                           String {
                            parts: [
                             Expression {
                              expression: Variable {
                               identifier: "name",
                               position: (245, 92),
                              },
                             },
                             Raw {
                              content: "/playlists",
                              position: (245, 97),
                             },
                            ],
                            position: (245, 89),
                           },
                          ],
                          position: (245, 82),
                         },
                        ],
                       },
                       FunctionApplication {
                        function: Variable {
                         identifier: "optionals",
                         position: (246, 16),
                        },
                        arguments: [
                         Parentheses {
                          expression: BinaryOperation {
                           operator: EqualTo,
                           operands: [
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (246, 27),
                             },
                             attribute_path: AttributePath {
                              parts: [
                               Raw {
                                content: "musicDirectory",
                                position: (246, 31),
                               },
                              ],
                             },
                             default: None,
                            },
                            String {
                             parts: [
                              Raw {
                               content: "/var/lib/",
                               position: (246, 50),
                              },
                              Expression {
                               expression: Variable {
                                identifier: "name",
                                position: (246, 61),
                               },
                              },
                              Raw {
                               content: "/music",
                               position: (246, 66),
                              },
                             ],
                             position: (246, 49),
                            },
                           ],
                           position: (246, 46),
                          },
                          position: (246, 26),
                         },
                         List {
                          elements: [
                           Variable {
                            identifier: "name",
                            position: (246, 84),
                           },
                           String {
                            parts: [
                             Expression {
                              expression: Variable {
                               identifier: "name",
                               position: (246, 92),
                              },
                             },
                             Raw {
                              content: "/music",
                              position: (246, 97),
                             },
                            ],
                            position: (246, 89),
                           },
                          ],
                          position: (246, 82),
                         },
                        ],
                       },
                      ],
                      position: (246, 13),
                     },
                    ],
                    position: (245, 13),
                   },
                  ],
                  position: (244, 13),
                 },
                },
               ],
               recursive: false,
               position: (238, 9),
              },
             },
            ],
            recursive: false,
            position: (224, 28),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (250, 5),
             },
             Raw {
              content: "users",
              position: (250, 11),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (250, 19),
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: EqualTo,
               operands: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (250, 34),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "user",
                    position: (250, 38),
                   },
                  ],
                 },
                 default: None,
                },
                Variable {
                 identifier: "name",
                 position: (250, 46),
                },
               ],
               position: (250, 43),
              },
              position: (250, 33),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (251, 9),
                   },
                  },
                 ],
                },
                to: Map {
                 bindings: [
                  Inherit {
                   from: None,
                   attributes: [
                    Raw {
                     content: "uid",
                     position: (252, 17),
                    },
                   ],
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "group",
                      position: (253, 9),
                     },
                    ],
                   },
                   to: PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (253, 17),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "group",
                       position: (253, 21),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "extraGroups",
                      position: (254, 9),
                     },
                    ],
                   },
                   to: List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "audio",
                        position: (254, 26),
                       },
                      ],
                      position: (254, 25),
                     },
                    ],
                    position: (254, 23),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "description",
                      position: (255, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Raw {
                      content: "Music Player Daemon user",
                      position: (255, 24),
                     },
                    ],
                    position: (255, 23),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "home",
                      position: (256, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (256, 19),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "dataDir",
                          position: (256, 23),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                    ],
                    position: (256, 16),
                   },
                  },
                 ],
                 recursive: false,
                 position: (251, 17),
                },
               },
              ],
              recursive: false,
              position: (250, 52),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (260, 5),
             },
             Raw {
              content: "groups",
              position: (260, 11),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (260, 20),
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: EqualTo,
               operands: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (260, 35),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "group",
                    position: (260, 39),
                   },
                  ],
                 },
                 default: None,
                },
                Variable {
                 identifier: "name",
                 position: (260, 48),
                },
               ],
               position: (260, 45),
              },
              position: (260, 34),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (261, 9),
                   },
                  },
                  Raw {
                   content: "gid",
                   position: (261, 15),
                  },
                 ],
                },
                to: Variable {
                 identifier: "gid",
                 position: (261, 21),
                },
               },
              ],
              recursive: false,
              position: (260, 54),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (210, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (48, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}