---
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: "acpid",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "canonicalHandlers",
        position: (8, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "powerEvent",
           position: (9, 5),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "event",
              position: (10, 7),
             },
            ],
           },
           to: String {
            parts: [
             Raw {
              content: "button/power.*",
              position: (10, 16),
             },
            ],
            position: (10, 15),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "action",
              position: (11, 7),
             },
            ],
           },
           to: PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (11, 16),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "powerEventCommands",
               position: (11, 20),
              },
             ],
            },
            default: None,
           },
          },
         ],
         recursive: false,
         position: (9, 18),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "lidEvent",
           position: (14, 5),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "event",
              position: (15, 7),
             },
            ],
           },
           to: String {
            parts: [
             Raw {
              content: "button/lid.*",
              position: (15, 16),
             },
            ],
            position: (15, 15),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "action",
              position: (16, 7),
             },
            ],
           },
           to: PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (16, 16),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "lidEventCommands",
               position: (16, 20),
              },
             ],
            },
            default: None,
           },
          },
         ],
         recursive: false,
         position: (14, 16),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "acEvent",
           position: (19, 5),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "event",
              position: (20, 7),
             },
            ],
           },
           to: String {
            parts: [
             Raw {
              content: "ac_adapter.*",
              position: (20, 16),
             },
            ],
            position: (20, 15),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "action",
              position: (21, 7),
             },
            ],
           },
           to: PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (21, 16),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "acEventCommands",
               position: (21, 20),
              },
             ],
            },
            default: None,
           },
          },
         ],
         recursive: false,
         position: (19, 15),
        },
       },
      ],
      recursive: false,
      position: (8, 23),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "acpiConfDir",
        position: (25, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (25, 17),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "runCommand",
          position: (25, 22),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "acpi-events",
          position: (25, 34),
         },
        ],
        position: (25, 33),
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "preferLocalBuild",
             position: (25, 49),
            },
           ],
          },
          to: Variable {
           identifier: "true",
           position: (25, 68),
          },
         },
        ],
        recursive: false,
        position: (25, 47),
       },
       String {
        parts: [
         Raw {
          content: "mkdir -p $out\n",
          position: (27, 1),
         },
         Interpolation {
          expression: LetIn {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "f",
                position: (31, 13),
               },
              ],
             },
             to: Function {
              argument: Simple {
               identifier: "name",
              },
              definition: Function {
               argument: Simple {
                identifier: "handler",
               },
               definition: String {
                parts: [
                 Raw {
                  content: "fn=$out/",
                  position: (33, 1),
                 },
                 Interpolation {
                  expression: Variable {
                   identifier: "name",
                   position: (33, 23),
                  },
                 },
                 Raw {
                  content: "\necho \"event=",
                  position: (33, 28),
                 },
                 Interpolation {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "handler",
                    position: (34, 27),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "event",
                      position: (34, 35),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "\" > $fn\necho \"action=",
                  position: (34, 41),
                 },
                 Interpolation {
                  expression: FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (35, 28),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "writeShellScriptBin",
                       position: (35, 33),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    String {
                     parts: [
                      Interpolation {
                       expression: Variable {
                        identifier: "name",
                        position: (35, 56),
                       },
                      },
                      Raw {
                       content: ".sh",
                       position: (35, 61),
                      },
                     ],
                     position: (35, 53),
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "handler",
                      position: (35, 66),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "action",
                        position: (35, 74),
                       },
                      ],
                     },
                     default: None,
                    },
                   ],
                  },
                 },
                 Raw {
                  content: "/bin/",
                  position: (35, 82),
                 },
                 Interpolation {
                  expression: Variable {
                   identifier: "name",
                   position: (35, 89),
                  },
                 },
                 Raw {
                  content: ".sh '%e'\" >> $fn\n",
                  position: (35, 94),
                 },
                ],
                position: (32, 11),
               },
               position: (31, 23),
              },
              position: (31, 17),
             },
            },
           ],
           target: FunctionApplication {
            function: Variable {
             identifier: "concatStringsSep",
             position: (37, 12),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "\n",
                position: (37, 30),
               },
              ],
              position: (37, 29),
             },
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "mapAttrsToList",
                position: (37, 35),
               },
               arguments: [
                Variable {
                 identifier: "f",
                 position: (37, 50),
                },
                Parentheses {
                 expression: BinaryOperation {
                  operator: Update,
                  operands: [
                   Variable {
                    identifier: "canonicalHandlers",
                    position: (37, 53),
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (37, 74),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "handlers",
                       position: (37, 78),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                  position: (37, 71),
                 },
                 position: (37, 52),
                },
               ],
              },
              position: (37, 34),
             },
            ],
           },
           position: (31, 9),
          },
         },
         Raw {
          content: "\n",
          position: (38, 8),
         },
        ],
        position: (26, 5),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (47, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (49, 5),
           },
           Raw {
            content: "acpid",
            position: (49, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (51, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (51, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "the ACPI daemon",
                 position: (51, 32),
                },
               ],
               position: (51, 31),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "logEvents",
               position: (53, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (53, 19),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (54, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (54, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (54, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (55, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (55, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (56, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Log all event activity.",
                    position: (56, 24),
                   },
                  ],
                  position: (56, 23),
                 },
                },
               ],
               recursive: false,
               position: (53, 28),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "handlers",
               position: (59, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (59, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (60, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (60, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "attrsOf",
                      position: (60, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (60, 31),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "submodule",
                         position: (60, 37),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "options",
                            position: (61, 11),
                           },
                          ],
                         },
                         to: Map {
                          bindings: [
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "event",
                               position: (62, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (62, 21),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (63, 15),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (63, 22),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (63, 28),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (64, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: Variable {
                                   identifier: "literalExpression",
                                   position: (64, 25),
                                  },
                                  arguments: [
                                   String {
                                    parts: [
                                     Raw {
                                      content: "\"button/power.*\" \"button/lid.*\" \"ac_adapter.*\" \"button/mute.*\" \"button/volumedown.*\" \"cd/play.*\" \"cd/next.*\"",
                                      position: (64, 45),
                                     },
                                    ],
                                    position: (64, 43),
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (65, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Event type.",
                                    position: (65, 30),
                                   },
                                  ],
                                  position: (65, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (62, 30),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "action",
                               position: (68, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (68, 22),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (69, 15),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (69, 22),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "lines",
                                     position: (69, 28),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (70, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Shell commands to execute when the event is triggered.",
                                    position: (70, 30),
                                   },
                                  ],
                                  position: (70, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (68, 31),
                              },
                             ],
                            },
                           },
                          ],
                          recursive: false,
                          position: (61, 21),
                         },
                        },
                       ],
                       recursive: false,
                       position: (60, 47),
                      },
                     ],
                    },
                    position: (60, 30),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (75, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Event handlers.\n\n<note><para>\n  Handler can be a single command.\n</para></note>\n",
                    position: (76, 1),
                   },
                  ],
                  position: (75, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (82, 9),
                   },
                  ],
                 },
                 to: Map {
                  bindings: [],
                  recursive: false,
                  position: (82, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "example",
                    position: (83, 9),
                   },
                  ],
                 },
                 to: Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "ac-power",
                       position: (84, 11),
                      },
                     ],
                    },
                    to: Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "event",
                          position: (85, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "ac_adapter/*",
                          position: (85, 22),
                         },
                        ],
                        position: (85, 21),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "action",
                          position: (86, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "vals=($1)  # space separated string to array of multiple values\ncase ",
                          position: (87, 1),
                         },
                         Raw {
                          content: "$",
                          position: (88, 20),
                         },
                         Raw {
                          content: "{vals[3]} in\n    00000000)\n        echo unplugged >> /tmp/acpi.log\n        ;;\n    00000001)\n        echo plugged in >> /tmp/acpi.log\n        ;;\n    *)\n        echo unknown >> /tmp/acpi.log\n        ;;\nesac\n",
                          position: (88, 23),
                         },
                        ],
                        position: (86, 22),
                       },
                      },
                     ],
                     recursive: false,
                     position: (84, 22),
                    },
                   },
                  ],
                  recursive: false,
                  position: (83, 19),
                 },
                },
               ],
               recursive: false,
               position: (59, 27),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "powerEventCommands",
               position: (104, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (104, 28),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (105, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (105, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "lines",
                     position: (105, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (106, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [],
                  position: (106, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (107, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Shell commands to execute on a button/power.* event.",
                    position: (107, 24),
                   },
                  ],
                  position: (107, 23),
                 },
                },
               ],
               recursive: false,
               position: (104, 37),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "lidEventCommands",
               position: (110, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (110, 26),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (111, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (111, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "lines",
                     position: (111, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (112, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [],
                  position: (112, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (113, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Shell commands to execute on a button/lid.* event.",
                    position: (113, 24),
                   },
                  ],
                  position: (113, 23),
                 },
                },
               ],
               recursive: false,
               position: (110, 35),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "acEventCommands",
               position: (116, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (116, 25),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (117, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (117, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "lines",
                     position: (117, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (118, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [],
                  position: (118, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (119, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Shell commands to execute on an ac_adapter.* event.",
                    position: (119, 24),
                   },
                  ],
                  position: (119, 23),
                 },
                },
               ],
               recursive: false,
               position: (116, 34),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (49, 22),
         },
        },
       ],
       recursive: false,
       position: (47, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (129, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (129, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (129, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (129, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (131, 5),
             },
             Raw {
              content: "services",
              position: (131, 13),
             },
             Raw {
              content: "acpid",
              position: (131, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (132, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "ACPI Daemon",
                 position: (132, 22),
                },
               ],
               position: (132, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "documentation",
                 position: (133, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "man:acpid(8)",
                   position: (133, 26),
                  },
                 ],
                 position: (133, 25),
                },
               ],
               position: (133, 23),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (135, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (135, 21),
                  },
                 ],
                 position: (135, 20),
                },
               ],
               position: (135, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (137, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (138, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "escapeShellArgs",
                   position: (138, 21),
                  },
                  arguments: [
                   Parentheses {
                    expression: BinaryOperation {
                     operator: Concatenation,
                     operands: [
                      List {
                       elements: [
                        String {
                         parts: [
                          Interpolation {
                           expression: PropertyAccess {
                            expression: Variable {
                             identifier: "pkgs",
                             position: (139, 17),
                            },
                            attribute_path: AttributePath {
                             parts: [
                              Raw {
                               content: "acpid",
                               position: (139, 22),
                              },
                             ],
                            },
                            default: None,
                           },
                          },
                          Raw {
                           content: "/bin/acpid",
                           position: (139, 28),
                          },
                         ],
                         position: (139, 14),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "--foreground",
                           position: (140, 15),
                          },
                         ],
                         position: (140, 14),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "--netlink",
                           position: (141, 15),
                          },
                         ],
                         position: (141, 14),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "--confdir",
                           position: (142, 15),
                          },
                         ],
                         position: (142, 14),
                        },
                        String {
                         parts: [
                          Interpolation {
                           expression: Variable {
                            identifier: "acpiConfDir",
                            position: (142, 29),
                           },
                          },
                         ],
                         position: (142, 26),
                        },
                       ],
                       position: (139, 12),
                      },
                      FunctionApplication {
                       function: Variable {
                        identifier: "optional",
                        position: (143, 17),
                       },
                       arguments: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (143, 26),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "logEvents",
                            position: (143, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                        String {
                         parts: [
                          Raw {
                           content: "--logevents",
                           position: (143, 41),
                          },
                         ],
                         position: (143, 40),
                        },
                       ],
                      },
                     ],
                     position: (143, 14),
                    },
                    position: (139, 11),
                   },
                  ],
                 },
                },
               ],
               recursive: false,
               position: (137, 23),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "unitConfig",
                 position: (146, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ConditionVirtualization",
                    position: (147, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "!systemd-nspawn",
                    position: (147, 36),
                   },
                  ],
                  position: (147, 35),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ConditionPathExists",
                    position: (148, 9),
                   },
                  ],
                 },
                 to: List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "/proc/acpi",
                      position: (148, 34),
                     },
                    ],
                    position: (148, 33),
                   },
                  ],
                  position: (148, 31),
                 },
                },
               ],
               recursive: false,
               position: (146, 20),
              },
             },
            ],
            recursive: false,
            position: (131, 30),
           },
          },
         ],
         recursive: false,
         position: (129, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (43, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}