---
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: (7, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (7, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "security",
         position: (7, 16),
        },
        Raw {
         content: "pam",
         position: (7, 25),
        },
        Raw {
         content: "usb",
         position: (7, 29),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "anyUsbAuth",
        position: (9, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "any",
       position: (9, 16),
      },
      arguments: [
       Parentheses {
        expression: FunctionApplication {
         function: Variable {
          identifier: "attrByPath",
          position: (9, 21),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "usbAuth",
               position: (9, 34),
              },
             ],
             position: (9, 33),
            },
           ],
           position: (9, 32),
          },
          Variable {
           identifier: "false",
           position: (9, 44),
          },
         ],
        },
        position: (9, 20),
       },
       Parentheses {
        expression: FunctionApplication {
         function: Variable {
          identifier: "attrValues",
          position: (9, 52),
         },
         arguments: [
          PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (9, 63),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "security",
              position: (9, 70),
             },
             Raw {
              content: "pam",
              position: (9, 79),
             },
             Raw {
              content: "services",
              position: (9, 83),
             },
            ],
           },
           default: None,
          },
         ],
        },
        position: (9, 51),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (14, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "security",
            position: (16, 5),
           },
           Raw {
            content: "pam",
            position: (16, 14),
           },
           Raw {
            content: "usb",
            position: (16, 18),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (17, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (17, 16),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (18, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (18, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (18, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (19, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (19, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (20, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Enable USB login for all login systems that support it.  For\nmore information, visit <link\nxlink:href=\"https://github.com/aluzzardi/pam_usb/wiki/Getting-Started#setting-up-devices-and-users\" />.\n",
                    position: (21, 1),
                   },
                  ],
                  position: (20, 23),
                 },
                },
               ],
               recursive: false,
               position: (17, 25),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (16, 24),
         },
        },
       ],
       recursive: false,
       position: (14, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (31, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (31, 12),
       },
       arguments: [
        Parentheses {
         expression: BinaryOperation {
          operator: LogicalOr,
          operands: [
           PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (31, 18),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (31, 22),
              },
             ],
            },
            default: None,
           },
           Variable {
            identifier: "anyUsbAuth",
            position: (31, 32),
           },
          ],
          position: (31, 29),
         },
         position: (31, 17),
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "security",
              position: (34, 5),
             },
             Raw {
              content: "wrappers",
              position: (34, 14),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "pmount",
                 position: (35, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "setuid",
                    position: (36, 11),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (36, 20),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "owner",
                    position: (37, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "root",
                    position: (37, 20),
                   },
                  ],
                  position: (37, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "group",
                    position: (38, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "root",
                    position: (38, 20),
                   },
                  ],
                  position: (38, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "source",
                    position: (39, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (39, 23),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "pmount",
                        position: (39, 28),
                       },
                       Raw {
                        content: "out",
                        position: (39, 35),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/pmount",
                    position: (39, 39),
                   },
                  ],
                  position: (39, 20),
                 },
                },
               ],
               recursive: false,
               position: (36, 9),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "pumount",
                 position: (41, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "setuid",
                    position: (42, 11),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (42, 20),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "owner",
                    position: (43, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "root",
                    position: (43, 20),
                   },
                  ],
                  position: (43, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "group",
                    position: (44, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "root",
                    position: (44, 20),
                   },
                  ],
                  position: (44, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "source",
                    position: (45, 11),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (45, 23),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "pmount",
                        position: (45, 28),
                       },
                       Raw {
                        content: "out",
                        position: (45, 35),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/pumount",
                    position: (45, 39),
                   },
                  ],
                  position: (45, 20),
                 },
                },
               ],
               recursive: false,
               position: (42, 9),
              },
             },
            ],
            recursive: false,
            position: (34, 25),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (49, 5),
             },
             Raw {
              content: "systemPackages",
              position: (49, 17),
             },
            ],
           },
           to: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (49, 36),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "pmount",
                 position: (49, 41),
                },
               ],
              },
              default: None,
             },
            ],
            position: (49, 34),
           },
          },
         ],
         recursive: false,
         position: (31, 44),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (13, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}