---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (6, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "programs",
           position: (7, 5),
          },
          Raw {
           content: "appgate-sdp",
           position: (7, 14),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "enable",
              position: (8, 7),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "mkEnableOption",
             position: (8, 16),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "AppGate SDP VPN client",
                position: (8, 32),
               },
              ],
              position: (8, 31),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (7, 28),
        },
       },
      ],
      recursive: false,
      position: (6, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (12, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (12, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (12, 17),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "programs",
           position: (12, 24),
          },
          Raw {
           content: "appgate-sdp",
           position: (12, 33),
          },
          Raw {
           content: "enable",
           position: (12, 45),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "boot",
             position: (13, 5),
            },
            Raw {
             content: "kernelModules",
             position: (13, 10),
            },
           ],
          },
          to: List {
           elements: [
            String {
             parts: [
              Raw {
               content: "tun",
               position: (13, 29),
              },
             ],
             position: (13, 28),
            },
           ],
           position: (13, 26),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "environment",
             position: (14, 5),
            },
            Raw {
             content: "systemPackages",
             position: (14, 17),
            },
           ],
          },
          to: List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (14, 36),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "appgate-sdp",
                position: (14, 41),
               },
              ],
             },
             default: None,
            },
           ],
           position: (14, 34),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "services",
             position: (15, 5),
            },
            Raw {
             content: "dbus",
             position: (15, 14),
            },
            Raw {
             content: "packages",
             position: (15, 19),
            },
           ],
          },
          to: List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (15, 32),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "appgate-sdp",
                position: (15, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (15, 30),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "systemd",
             position: (16, 5),
            },
           ],
          },
          to: Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "packages",
                position: (17, 7),
               },
              ],
             },
             to: List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (17, 20),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "appgate-sdp",
                   position: (17, 25),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (17, 18),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "services",
                position: (19, 7),
               },
               Raw {
                content: "appgatedriver",
                position: (19, 16),
               },
               Raw {
                content: "wantedBy",
                position: (19, 30),
               },
              ],
             },
             to: List {
              elements: [
               String {
                parts: [
                 Raw {
                  content: "multi-user.target",
                  position: (19, 44),
                 },
                ],
                position: (19, 43),
               },
              ],
              position: (19, 41),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "services",
                position: (20, 7),
               },
               Raw {
                content: "appgate-dumb-resolver",
                position: (20, 16),
               },
               Raw {
                content: "path",
                position: (20, 38),
               },
              ],
             },
             to: List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (20, 47),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "e2fsprogs",
                   position: (20, 52),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (20, 45),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "services",
                position: (21, 7),
               },
               Raw {
                content: "appgate-resolver",
                position: (21, 16),
               },
               Raw {
                content: "path",
                position: (21, 33),
               },
              ],
             },
             to: List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (21, 42),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "procps",
                   position: (21, 47),
                  },
                 ],
                },
                default: None,
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (21, 54),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "e2fsprogs",
                   position: (21, 59),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (21, 40),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "services",
                position: (22, 7),
               },
               Raw {
                content: "appgatedriver",
                position: (22, 16),
               },
               Raw {
                content: "path",
                position: (22, 30),
               },
              ],
             },
             to: List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (22, 39),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "e2fsprogs",
                   position: (22, 44),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (22, 37),
             },
            },
           ],
           recursive: false,
           position: (16, 15),
          },
         },
        ],
        recursive: false,
        position: (12, 52),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}