---
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: 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: "programs",
         position: (6, 16),
        },
        Raw {
         content: "xss-lock",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (9, 3),
        },
        Raw {
         content: "programs",
         position: (9, 11),
        },
        Raw {
         content: "xss-lock",
         position: (9, 20),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (10, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (10, 14),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "xss-lock",
              position: (10, 30),
             },
            ],
            position: (10, 29),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "lockerCommand",
            position: (12, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (12, 21),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (13, 7),
                },
               ],
              },
              to: String {
               parts: [
                Interpolation {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (13, 20),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "i3lock",
                     position: (13, 25),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/bin/i3lock",
                 position: (13, 32),
                },
               ],
               position: (13, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "defaultText",
                 position: (14, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (14, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "\"",
                   position: (14, 41),
                  },
                  Raw {
                   content: "$",
                   position: (14, 42),
                  },
                  Raw {
                   content: "{pkgs.i3lock}/bin/i3lock\"",
                   position: (14, 45),
                  },
                 ],
                 position: (14, 39),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (15, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (15, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "\"",
                   position: (15, 37),
                  },
                  Raw {
                   content: "$",
                   position: (15, 38),
                  },
                  Raw {
                   content: "{pkgs.i3lock-fancy}/bin/i3lock-fancy\"",
                   position: (15, 41),
                  },
                 ],
                 position: (15, 35),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (16, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (16, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "separatedString",
                   position: (16, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: " ",
                   position: (16, 37),
                  },
                 ],
                 position: (16, 36),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (17, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Locker to be used with xsslock",
                 position: (17, 22),
                },
               ],
               position: (17, 21),
              },
             },
            ],
            recursive: false,
            position: (12, 30),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "extraOptions",
            position: (20, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (20, 20),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (21, 7),
                },
               ],
              },
              to: List {
               elements: [],
               position: (21, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (22, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "--ignore-sleep",
                   position: (22, 20),
                  },
                 ],
                 position: (22, 19),
                },
               ],
               position: (22, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (23, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (23, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (23, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (23, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "str",
                    position: (23, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (24, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Additional command-line arguments to pass to\n<command>xss-lock</command>.\n",
                 position: (25, 1),
                },
               ],
               position: (24, 21),
              },
             },
            ],
            recursive: false,
            position: (20, 29),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (9, 31),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (31, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (31, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (31, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (31, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (32, 5),
             },
             Raw {
              content: "user",
              position: (32, 13),
             },
             Raw {
              content: "services",
              position: (32, 18),
             },
             Raw {
              content: "xss-lock",
              position: (32, 27),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (33, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "XSS Lock Daemon",
                 position: (33, 22),
                },
               ],
               position: (33, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (34, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "graphical-session.target",
                   position: (34, 21),
                  },
                 ],
                 position: (34, 20),
                },
               ],
               position: (34, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "partOf",
                 position: (35, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "graphical-session.target",
                   position: (35, 19),
                  },
                 ],
                 position: (35, 18),
                },
               ],
               position: (35, 16),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (36, 7),
                },
                Raw {
                 content: "ExecStart",
                 position: (36, 21),
                },
               ],
              },
              to: With {
               expression: Variable {
                identifier: "lib",
                position: (36, 38),
               },
               target: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "strings",
                  position: (37, 9),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "concatStringsSep",
                    position: (37, 17),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " ",
                    position: (37, 35),
                   },
                  ],
                  position: (37, 34),
                 },
                 Parentheses {
                  expression: BinaryOperation {
                   operator: Concatenation,
                   operands: [
                    List {
                     elements: [
                      String {
                       parts: [
                        Interpolation {
                         expression: PropertyAccess {
                          expression: Variable {
                           identifier: "pkgs",
                           position: (38, 16),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "xss-lock",
                             position: (38, 21),
                            },
                           ],
                          },
                          default: None,
                         },
                        },
                        Raw {
                         content: "/bin/xss-lock",
                         position: (38, 30),
                        },
                       ],
                       position: (38, 13),
                      },
                      String {
                       parts: [
                        Raw {
                         content: "--session ${XDG_SESSION_ID}",
                         position: (38, 46),
                        },
                       ],
                       position: (38, 45),
                      },
                     ],
                     position: (37, 39),
                    },
                    BinaryOperation {
                     operator: Concatenation,
                     operands: [
                      Parentheses {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "map",
                         position: (39, 17),
                        },
                        arguments: [
                         Variable {
                          identifier: "escapeShellArg",
                          position: (39, 21),
                         },
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (39, 36),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "extraOptions",
                             position: (39, 40),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                       position: (39, 16),
                      },
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "--",
                           position: (40, 14),
                          },
                         ],
                         position: (40, 13),
                        },
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (41, 13),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "lockerCommand",
                            position: (41, 17),
                           },
                          ],
                         },
                         default: None,
                        },
                       ],
                       position: (39, 57),
                      },
                     ],
                     position: (39, 54),
                    },
                   ],
                   position: (39, 13),
                  },
                  position: (37, 38),
                 },
                ],
               },
               position: (36, 33),
              },
             },
            ],
            recursive: false,
            position: (32, 38),
           },
          },
         ],
         recursive: false,
         position: (31, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}