---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "name",
        position: (7, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "mpd",
        position: (7, 11),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "uid",
        position: (9, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (9, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "ids",
         position: (9, 16),
        },
        Raw {
         content: "uids",
         position: (9, 20),
        },
        Raw {
         content: "mpd",
         position: (9, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "gid",
        position: (10, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (10, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "ids",
         position: (10, 16),
        },
        Raw {
         content: "gids",
         position: (10, 20),
        },
        Raw {
         content: "mpd",
         position: (10, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (11, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (11, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (11, 16),
        },
        Raw {
         content: "mpd",
         position: (11, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "credentialsPlaceholder",
        position: (13, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "creds",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "placeholders",
            position: (15, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "imap0",
           position: (15, 23),
          },
          arguments: [
           Function {
            argument: Some(
             "i",
            ),
            arguments: FunctionArguments {
             arguments: [],
             ellipsis: false,
            },
            definition: Function {
             argument: Some(
              "c",
             ),
             arguments: FunctionArguments {
              arguments: [],
              ellipsis: false,
             },
             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),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "c",
                    position: (16, 78),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "permissions",
                      position: (16, 80),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
               },
               Raw {
                content: "\"",
                position: (16, 92),
               },
              ],
             },
             position: (16, 13),
            },
            position: (16, 10),
           },
           Variable {
            identifier: "creds",
            position: (17, 9),
           },
          ],
         },
        ),
       ],
       target: FunctionApplication {
        function: Variable {
         identifier: "concatStringsSep",
         position: (19, 7),
        },
        arguments: [
         String {
          parts: [
           Raw {
            content: "\n",
            position: (19, 25),
           },
          ],
         },
         Variable {
          identifier: "placeholders",
          position: (19, 29),
         },
        ],
       },
       position: (14, 5),
      },
      position: (13, 29),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "mpdConf",
        position: (21, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (21, 13),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeText",
          position: (21, 18),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "mpd.conf",
          position: (21, 29),
         },
        ],
       },
       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 {
            attributes: [
             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 {
            attributes: [
             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 {
             attributes: [
              Raw {
               content: "optionalString",
               position: (28, 11),
              },
             ],
            },
            default: None,
           },
           arguments: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (28, 27),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "dbFile",
                  position: (28, 31),
                 },
                ],
               },
               default: None,
              },
              Variable {
               identifier: "null",
               position: (28, 41),
              },
             ],
             position: (28, 38),
            },
            String {
             parts: [
              Raw {
               content: "db_file             \"",
               position: (29, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (29, 30),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "dbFile",
                   position: (29, 34),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\"\n",
               position: (29, 41),
              },
             ],
            },
           ],
          },
         },
         Raw {
          content: "\nstate_file          \"",
          position: (30, 8),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (31, 28),
           },
           attribute_path: AttributePath {
            attributes: [
             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 {
            attributes: [
             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: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (34, 23),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "network",
                  position: (34, 27),
                 },
                 Raw {
                  content: "listenAddress",
                  position: (34, 35),
                 },
                ],
               },
               default: None,
              },
              String {
               parts: [
                Raw {
                 content: "any",
                 position: (34, 53),
                },
               ],
              },
             ],
             position: (34, 49),
            },
            String {
             parts: [
              Raw {
               content: "bind_to_address \"",
               position: (34, 61),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (34, 80),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "network",
                   position: (34, 84),
                  },
                  Raw {
                   content: "listenAddress",
                   position: (34, 92),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\"",
               position: (34, 106),
              },
             ],
            },
           ],
          },
         },
         Raw {
          content: "\n",
          position: (34, 110),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (35, 7),
           },
           arguments: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (35, 23),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "network",
                  position: (35, 27),
                 },
                 Raw {
                  content: "port",
                  position: (35, 35),
                 },
                ],
               },
               default: None,
              },
              Int {
               value: 6600,
               position: (35, 43),
              },
             ],
             position: (35, 40),
            },
            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 {
                   attributes: [
                    Raw {
                     content: "network",
                     position: (35, 73),
                    },
                    Raw {
                     content: "port",
                     position: (35, 81),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\"",
               position: (35, 86),
              },
             ],
            },
           ],
          },
         },
         Raw {
          content: "\n",
          position: (35, 90),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (36, 7),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (36, 23),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "fluidsynth",
                position: (36, 27),
               },
              ],
             },
             default: None,
            },
            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 {
                 attributes: [
                  Raw {
                   content: "soundfont-fluid",
                   position: (39, 33),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "/share/soundfonts/FluidR3_GM2-2.sf2\"\n}\n",
               position: (39, 49),
              },
             ],
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (41, 8),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (43, 7),
           },
           arguments: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (43, 23),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "credentials",
                  position: (43, 27),
                 },
                ],
               },
               default: None,
              },
              List {
               elements: [],
               position: (43, 42),
              },
             ],
             position: (43, 39),
            },
            FunctionApplication {
             function: Variable {
              identifier: "credentialsPlaceholder",
              position: (43, 47),
             },
             arguments: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (43, 70),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "credentials",
                  position: (43, 74),
                 },
                ],
               },
               default: None,
              },
             ],
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (43, 87),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (45, 7),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "extraConfig",
              position: (45, 11),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (45, 23),
         },
        ],
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (52, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (54, 5),
           },
           Raw {
            content: "mpd",
            position: (54, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (56, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (56, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (57, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (57, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (58, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (58, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (59, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable MPD, the music player daemon.\n",
                    position: (60, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (56, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "startWhenNeeded",
               position: (64, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (64, 25),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (65, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (65, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (65, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (66, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (66, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (67, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (64, 34),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "musicDirectory",
               position: (74, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (74, 24),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (75, 9),
                   },
                  ],
                 },
                 With {
                  expression: Variable {
                   identifier: "types",
                   position: (75, 21),
                  },
                  target: FunctionApplication {
                   function: Variable {
                    identifier: "either",
                    position: (75, 28),
                   },
                   arguments: [
                    Variable {
                     identifier: "path",
                     position: (75, 35),
                    },
                    FunctionApplication {
                     function: Variable {
                      identifier: "strMatching",
                      position: (75, 41),
                     },
                     arguments: [
                      String {
                       parts: [
                        Raw {
                         content: "(http|https|nfs|smb)://.+",
                         position: (75, 54),
                        },
                       ],
                      },
                     ],
                    },
                   ],
                  },
                  position: (75, 16),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (76, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (76, 22),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "dataDir",
                        position: (76, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/music",
                    position: (76, 34),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (77, 9),
                   },
                  ],
                 },
                 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),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (78, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (74, 33),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "playlistDirectory",
               position: (86, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (86, 27),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (87, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (87, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (87, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (88, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (88, 22),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "dataDir",
                        position: (88, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/playlists",
                    position: (88, 34),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (89, 9),
                   },
                  ],
                 },
                 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),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (90, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (86, 36),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "extraConfig",
               position: (98, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (98, 21),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (99, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (99, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "lines",
                     position: (99, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (100, 9),
                   },
                  ],
                 },
                 String {
                  parts: [],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (101, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (98, 30),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "dataDir",
               position: (109, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (109, 17),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (110, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (110, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (110, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (111, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "/var/lib/",
                    position: (111, 20),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "name",
                     position: (111, 31),
                    },
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (112, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (109, 26),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "user",
               position: (120, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (120, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (121, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (121, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (121, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (122, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "name",
                  position: (122, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (123, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "User account under which MPD runs.",
                    position: (123, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (120, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "group",
               position: (126, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (126, 15),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (127, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (127, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (127, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (128, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "name",
                  position: (128, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (129, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Group account under which MPD runs.",
                    position: (129, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (126, 24),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "network",
               position: (132, 7),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "listenAddress",
                  position: (134, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (134, 25),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (135, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (135, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (135, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (136, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "127.0.0.1",
                       position: (136, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "example",
                       position: (137, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "any",
                       position: (137, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (138, 11),
                      },
                     ],
                    },
                    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),
                      },
                     ],
                    },
                   ),
                  ],
                  recursive: false,
                  position: (134, 34),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (144, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (144, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (145, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (145, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "int",
                        position: (145, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (146, 11),
                      },
                     ],
                    },
                    Int {
                     value: 6600,
                     position: (146, 21),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (147, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "This setting is the TCP port that is desired for the daemon to get assigned\nto.\n",
                       position: (148, 1),
                      },
                     ],
                    },
                   ),
                  ],
                  recursive: false,
                  position: (144, 25),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (132, 17),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "dbFile",
               position: (155, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (155, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (156, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (156, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (156, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (156, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (156, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (157, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (157, 22),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "dataDir",
                        position: (157, 26),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/tag_cache",
                    position: (157, 34),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (158, 9),
                   },
                  ],
                 },
                 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),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (159, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (155, 25),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "credentials",
               position: (165, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (165, 21),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (166, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (166, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (166, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (166, 30),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "submodule",
                        position: (166, 36),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "options",
                           position: (167, 11),
                          },
                         ],
                        },
                        Map {
                         bindings: [
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "passwordFile",
                              position: (168, 13),
                             },
                            ],
                           },
                           FunctionApplication {
                            function: Variable {
                             identifier: "mkOption",
                             position: (168, 28),
                            },
                            arguments: [
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (169, 15),
                                  },
                                 ],
                                },
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "types",
                                  position: (169, 22),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "path",
                                    position: (169, 28),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "description",
                                   position: (170, 15),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "Path to file containing the password.\n",
                                   position: (171, 1),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (168, 37),
                             },
                            ],
                           },
                          ),
                          KeyValue(
                           AttributePath {
                            attributes: [
                             Raw {
                              content: "permissions",
                              position: (174, 13),
                             },
                            ],
                           },
                           LetIn {
                            bindings: [
                             KeyValue(
                              AttributePath {
                               attributes: [
                                Raw {
                                 content: "perms",
                                 position: (175, 15),
                                },
                               ],
                              },
                              List {
                               elements: [
                                String {
                                 parts: [
                                  Raw {
                                   content: "read",
                                   position: (175, 25),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "add",
                                   position: (175, 32),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "control",
                                   position: (175, 38),
                                  },
                                 ],
                                },
                                String {
                                 parts: [
                                  Raw {
                                   content: "admin",
                                   position: (175, 48),
                                  },
                                 ],
                                },
                               ],
                               position: (175, 23),
                              },
                             ),
                            ],
                            target: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (176, 16),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                KeyValue(
                                 AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "type",
                                    position: (177, 15),
                                   },
                                  ],
                                 },
                                 FunctionApplication {
                                  function: PropertyAccess {
                                   expression: Variable {
                                    identifier: "types",
                                    position: (177, 22),
                                   },
                                   attribute_path: AttributePath {
                                    attributes: [
                                     Raw {
                                      content: "listOf",
                                      position: (177, 28),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                  arguments: [
                                   FunctionApplication {
                                    function: PropertyAccess {
                                     expression: Variable {
                                      identifier: "types",
                                      position: (177, 36),
                                     },
                                     attribute_path: AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "enum",
                                        position: (177, 42),
                                       },
                                      ],
                                     },
                                     default: None,
                                    },
                                    arguments: [
                                     Variable {
                                      identifier: "perms",
                                      position: (177, 47),
                                     },
                                    ],
                                   },
                                  ],
                                 },
                                ),
                                KeyValue(
                                 AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "default",
                                    position: (178, 15),
                                   },
                                  ],
                                 },
                                 List {
                                  elements: [
                                   String {
                                    parts: [
                                     Raw {
                                      content: "read",
                                      position: (178, 28),
                                     },
                                    ],
                                   },
                                  ],
                                  position: (178, 25),
                                 },
                                ),
                                KeyValue(
                                 AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "description",
                                    position: (179, 15),
                                   },
                                  ],
                                 },
                                 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),
                                        },
                                       ],
                                      },
                                      Variable {
                                       identifier: "perms",
                                       position: (181, 65),
                                      },
                                     ],
                                    },
                                   },
                                   Raw {
                                    content: "\".\n",
                                    position: (181, 71),
                                   },
                                  ],
                                 },
                                ),
                               ],
                               recursive: false,
                               position: (176, 25),
                              },
                             ],
                            },
                            position: (174, 27),
                           },
                          ),
                         ],
                         recursive: false,
                         position: (167, 21),
                        },
                       ),
                      ],
                      recursive: false,
                      position: (166, 46),
                     },
                    ],
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (186, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Credentials and permissions for accessing the mpd server.\n",
                    position: (187, 1),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (189, 9),
                   },
                  ],
                 },
                 List {
                  elements: [],
                  position: (189, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (190, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "passwordFile",
                         position: (191, 12),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "/var/lib/secrets/mpd_readonly_password",
                         position: (191, 28),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "permissions",
                         position: (191, 69),
                        },
                       ],
                      },
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "read",
                           position: (191, 86),
                          },
                         ],
                        },
                       ],
                       position: (191, 83),
                      },
                     ),
                    ],
                    recursive: false,
                    position: (191, 11),
                   },
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "passwordFile",
                         position: (192, 12),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "/var/lib/secrets/mpd_admin_password",
                         position: (192, 28),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "permissions",
                         position: (192, 66),
                        },
                       ],
                      },
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "read",
                           position: (192, 82),
                          },
                         ],
                        },
                        String {
                         parts: [
                          Raw {
                           content: "add",
                           position: (192, 89),
                          },
                         ],
                        },
                        String {
                         parts: [
                          Raw {
                           content: "control",
                           position: (192, 95),
                          },
                         ],
                        },
                        String {
                         parts: [
                          Raw {
                           content: "admin",
                           position: (192, 105),
                          },
                         ],
                        },
                       ],
                       position: (192, 80),
                      },
                     ),
                    ],
                    recursive: false,
                    position: (192, 11),
                   },
                  ],
                  position: (190, 19),
                 },
                ),
               ],
               recursive: false,
               position: (165, 30),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "fluidsynth",
               position: (196, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (196, 20),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (197, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (197, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (197, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (198, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (198, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (199, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "If set, add fluidsynth soundfont and configure the plugin.\n",
                    position: (200, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (196, 29),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (54, 20),
         },
        ),
       ],
       recursive: false,
       position: (52, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (210, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (210, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (210, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (210, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (213, 5),
             },
             Raw {
              content: "packages",
              position: (213, 13),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (213, 26),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "mpd",
                 position: (213, 31),
                },
               ],
              },
              default: None,
             },
            ],
            position: (213, 24),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (215, 5),
             },
             Raw {
              content: "sockets",
              position: (215, 13),
             },
             Raw {
              content: "mpd",
              position: (215, 21),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (215, 27),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (215, 32),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "startWhenNeeded",
                 position: (215, 36),
                },
               ],
              },
              default: None,
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "wantedBy",
                   position: (216, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "sockets.target",
                     position: (216, 21),
                    },
                   ],
                  },
                 ],
                 position: (216, 18),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "listenStreams",
                   position: (217, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  IfThenElse {
                   predicate: FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (218, 13),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "lib",
                        position: (218, 18),
                       },
                       Raw {
                        content: "hasPrefix",
                        position: (218, 22),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: "/",
                        position: (218, 33),
                       },
                      ],
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (218, 36),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        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 {
                     attributes: [
                      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: [
                        BinaryOperation {
                         operator: NotEqualTo,
                         operands: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (220, 35),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "network",
                              position: (220, 39),
                             },
                             Raw {
                              content: "listenAddress",
                              position: (220, 47),
                             },
                            ],
                           },
                           default: None,
                          },
                          String {
                           parts: [
                            Raw {
                             content: "any",
                             position: (220, 65),
                            },
                           ],
                          },
                         ],
                         position: (220, 61),
                        },
                        String {
                         parts: [
                          Expression {
                           expression: PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (220, 74),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "network",
                               position: (220, 78),
                              },
                              Raw {
                               content: "listenAddress",
                               position: (220, 86),
                              },
                             ],
                            },
                            default: None,
                           },
                          },
                          Raw {
                           content: ":",
                           position: (220, 100),
                          },
                         ],
                        },
                       ],
                      },
                     },
                     Expression {
                      expression: FunctionApplication {
                       function: Variable {
                        identifier: "toString",
                        position: (220, 105),
                       },
                       arguments: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (220, 114),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "network",
                            position: (220, 118),
                           },
                           Raw {
                            content: "port",
                            position: (220, 126),
                           },
                          ],
                         },
                         default: None,
                        },
                       ],
                      },
                     },
                    ],
                   },
                   position: (218, 10),
                  },
                 ],
                 position: (217, 23),
                },
               ),
              ],
              recursive: false,
              position: (215, 52),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (224, 5),
             },
             Raw {
              content: "services",
              position: (224, 13),
             },
             Raw {
              content: "mpd",
              position: (224, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (225, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "optional",
                position: (225, 18),
               },
               arguments: [
                UnaryOperation {
                 operator: Not,
                 operand: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (225, 29),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "startWhenNeeded",
                     position: (225, 33),
                    },
                   ],
                  },
                  default: None,
                 },
                 position: (225, 28),
                },
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (225, 51),
                  },
                 ],
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "preStart",
                 position: (227, 7),
                },
               ],
              },
              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),
                  },
                 ],
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "optionalString",
                  position: (231, 14),
                 },
                 arguments: [
                  BinaryOperation {
                   operator: NotEqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (231, 30),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "credentials",
                        position: (231, 34),
                       },
                      ],
                     },
                     default: None,
                    },
                    List {
                     elements: [],
                     position: (231, 49),
                    },
                   ],
                   position: (231, 46),
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "concatStringsSep",
                    position: (232, 10),
                   },
                   arguments: [
                    String {
                     parts: [
                      Raw {
                       content: "\n",
                       position: (232, 28),
                      },
                     ],
                    },
                    FunctionApplication {
                     function: Variable {
                      identifier: "imap0",
                      position: (233, 12),
                     },
                     arguments: [
                      Function {
                       argument: Some(
                        "i",
                       ),
                       arguments: FunctionArguments {
                        arguments: [],
                        ellipsis: false,
                       },
                       definition: Function {
                        argument: Some(
                         "c",
                        ),
                        arguments: FunctionArguments {
                         arguments: [],
                         ellipsis: false,
                        },
                        definition: String {
                         parts: [
                          Expression {
                           expression: PropertyAccess {
                            expression: Variable {
                             identifier: "pkgs",
                             position: (234, 24),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              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 {
                             attributes: [
                              Raw {
                               content: "passwordFile",
                               position: (234, 98),
                              },
                             ],
                            },
                            default: None,
                           },
                          },
                          Raw {
                           content: "' /run/mpd/mpd.conf",
                           position: (234, 111),
                          },
                         ],
                        },
                        position: (234, 17),
                       },
                       position: (234, 14),
                      },
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (235, 13),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "credentials",
                          position: (235, 17),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                   ],
                  },
                 ],
                },
               ],
               position: (231, 12),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (237, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "User",
                    position: (239, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (239, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "user",
                        position: (239, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (241, 11),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "pkgs",
                        position: (241, 31),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "mpd",
                          position: (241, 36),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/mpd --systemd /run/mpd/mpd.conf",
                      position: (241, 40),
                     },
                    ],
                   },
                  ],
                  position: (241, 23),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RuntimeDirectory",
                    position: (242, 11),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "mpd",
                    position: (242, 31),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StateDirectory",
                    position: (243, 11),
                   },
                  ],
                 },
                 BinaryOperation {
                  operator: Concatenation,
                  operands: [
                   List {
                    elements: [],
                    position: (243, 28),
                   },
                   BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "optionals",
                       position: (244, 16),
                      },
                      arguments: [
                       BinaryOperation {
                        operator: EqualTo,
                        operands: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (244, 27),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            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, 39),
                       },
                       List {
                        elements: [
                         Variable {
                          identifier: "name",
                          position: (244, 64),
                         },
                        ],
                        position: (244, 62),
                       },
                      ],
                     },
                     BinaryOperation {
                      operator: Concatenation,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "optionals",
                         position: (245, 16),
                        },
                        arguments: [
                         BinaryOperation {
                          operator: EqualTo,
                          operands: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (245, 27),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              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, 49),
                         },
                         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, 82),
                         },
                        ],
                       },
                       FunctionApplication {
                        function: Variable {
                         identifier: "optionals",
                         position: (246, 16),
                        },
                        arguments: [
                         BinaryOperation {
                          operator: EqualTo,
                          operands: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (246, 27),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              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, 46),
                         },
                         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, 82),
                         },
                        ],
                       },
                      ],
                      position: (246, 13),
                     },
                    ],
                    position: (245, 13),
                   },
                  ],
                  position: (244, 13),
                 },
                ),
               ],
               recursive: false,
               position: (238, 9),
              },
             ),
            ],
            recursive: false,
            position: (224, 28),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (250, 5),
             },
             Raw {
              content: "users",
              position: (250, 11),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (250, 19),
            },
            arguments: [
             BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (250, 34),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "user",
                   position: (250, 38),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "name",
                position: (250, 46),
               },
              ],
              position: (250, 43),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (251, 9),
                   },
                  },
                 ],
                },
                Map {
                 bindings: [
                  Inherit(
                   None,
                   [
                    Raw {
                     content: "uid",
                     position: (252, 17),
                    },
                   ],
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "group",
                      position: (253, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (253, 17),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "group",
                       position: (253, 21),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "extraGroups",
                      position: (254, 9),
                     },
                    ],
                   },
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "audio",
                        position: (254, 26),
                       },
                      ],
                     },
                    ],
                    position: (254, 23),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (255, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "Music Player Daemon user",
                      position: (255, 24),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "home",
                      position: (256, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (256, 19),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (256, 23),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (251, 17),
                },
               ),
              ],
              recursive: false,
              position: (250, 52),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (260, 5),
             },
             Raw {
              content: "groups",
              position: (260, 11),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (260, 20),
            },
            arguments: [
             BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (260, 35),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "group",
                   position: (260, 39),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "name",
                position: (260, 48),
               },
              ],
              position: (260, 45),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (261, 9),
                   },
                  },
                  Raw {
                   content: "gid",
                   position: (261, 15),
                  },
                 ],
                },
                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),
}