---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "dwm-status",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "order",
        position: (8, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "concatMapStringsSep",
       position: (8, 11),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: ",",
          position: (8, 32),
         },
        ],
        position: (8, 31),
       },
       Parentheses {
        expression: Function {
         argument: Simple {
          identifier: "feature",
         },
         definition: String {
          parts: [
           Raw {
            content: "\"",
            position: (8, 47),
           },
           Expression {
            expression: Variable {
             identifier: "feature",
             position: (8, 50),
            },
           },
           Raw {
            content: "\"",
            position: (8, 58),
           },
          ],
          position: (8, 45),
         },
         position: (8, 36),
        },
        position: (8, 35),
       },
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (8, 63),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "order",
           position: (8, 67),
          },
         ],
        },
        default: None,
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "configFile",
        position: (10, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (10, 16),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeText",
          position: (10, 21),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "dwm-status.toml",
          position: (10, 32),
         },
        ],
        position: (10, 31),
       },
       String {
        parts: [
         Raw {
          content: "order = [",
          position: (11, 1),
         },
         Expression {
          expression: Variable {
           identifier: "order",
           position: (11, 16),
          },
         },
         Raw {
          content: "]\n\n",
          position: (11, 22),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (13, 7),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "extraConfig",
              position: (13, 11),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (13, 23),
         },
        ],
        position: (10, 49),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (21, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (23, 5),
           },
           Raw {
            content: "dwm-status",
            position: (23, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (25, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (25, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "dwm-status user service",
                 position: (25, 32),
                },
               ],
               position: (25, 31),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "package",
               position: (27, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (27, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (28, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (28, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "package",
                     position: (28, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (29, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (29, 19),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "dwm-status",
                     position: (29, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (30, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (30, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.dwm-status",
                      position: (30, 42),
                     },
                    ],
                    position: (30, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "example",
                    position: (31, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (31, 19),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.dwm-status.override { enableAlsaUtils = false; }",
                      position: (31, 38),
                     },
                    ],
                    position: (31, 37),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (32, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Which dwm-status package to use.\n",
                    position: (33, 1),
                   },
                  ],
                  position: (32, 23),
                 },
                },
               ],
               recursive: false,
               position: (27, 26),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "order",
               position: (37, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (37, 15),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (38, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (38, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "listOf",
                      position: (38, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (38, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "enum",
                         position: (38, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "audio",
                           position: (38, 44),
                          },
                         ],
                         position: (38, 43),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "backlight",
                           position: (38, 52),
                          },
                         ],
                         position: (38, 51),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "battery",
                           position: (38, 64),
                          },
                         ],
                         position: (38, 63),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "cpu_load",
                           position: (38, 74),
                          },
                         ],
                         position: (38, 73),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "network",
                           position: (38, 85),
                          },
                         ],
                         position: (38, 84),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "time",
                           position: (38, 95),
                          },
                         ],
                         position: (38, 94),
                        },
                       ],
                       position: (38, 41),
                      },
                     ],
                    },
                    position: (38, 29),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (39, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "List of enabled features in order.\n",
                    position: (40, 1),
                   },
                  ],
                  position: (39, 23),
                 },
                },
               ],
               recursive: false,
               position: (37, 24),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "extraConfig",
               position: (44, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (44, 21),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (45, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (45, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "lines",
                     position: (45, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (46, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [],
                  position: (46, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (47, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Extra config in TOML format.\n",
                    position: (48, 1),
                   },
                  ],
                  position: (47, 23),
                 },
                },
               ],
               recursive: false,
               position: (44, 30),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (23, 27),
         },
        },
       ],
       recursive: false,
       position: (21, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (59, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (59, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (59, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (59, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "services",
              position: (61, 5),
             },
             Raw {
              content: "upower",
              position: (61, 14),
             },
             Raw {
              content: "enable",
              position: (61, 21),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "elem",
             position: (61, 30),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "battery",
                position: (61, 36),
               },
              ],
              position: (61, 35),
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (61, 45),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "order",
                 position: (61, 49),
                },
               ],
              },
              default: None,
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (63, 5),
             },
             Raw {
              content: "user",
              position: (63, 13),
             },
             Raw {
              content: "services",
              position: (63, 18),
             },
             Raw {
              content: "dwm-status",
              position: (63, 27),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (64, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Highly performant and configurable DWM status service",
                 position: (64, 22),
                },
               ],
               position: (64, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (65, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "graphical-session.target",
                   position: (65, 21),
                  },
                 ],
                 position: (65, 20),
                },
               ],
               position: (65, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "partOf",
                 position: (66, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "graphical-session.target",
                   position: (66, 19),
                  },
                 ],
                 position: (66, 18),
                },
               ],
               position: (66, 16),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (68, 7),
                },
                Raw {
                 content: "ExecStart",
                 position: (68, 21),
                },
               ],
              },
              to: String {
               parts: [
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (68, 36),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "package",
                     position: (68, 40),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/bin/dwm-status ",
                 position: (68, 48),
                },
                Expression {
                 expression: Variable {
                  identifier: "configFile",
                  position: (68, 66),
                 },
                },
               ],
               position: (68, 33),
              },
             },
            ],
            recursive: false,
            position: (63, 40),
           },
          },
         ],
         recursive: false,
         position: (59, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (17, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}