---
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: (2, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (4, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (4, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "hardware",
         position: (4, 16),
        },
        Raw {
         content: "printers",
         position: (4, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "ppdOptionsString",
        position: (5, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "options",
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "optionalString",
        position: (5, 31),
       },
       arguments: [
        Parentheses {
         expression: BinaryOperation {
          operator: NotEqualTo,
          operands: [
           Variable {
            identifier: "options",
            position: (5, 47),
           },
           Map {
            bindings: [],
            recursive: false,
            position: (5, 58),
           },
          ],
          position: (5, 55),
         },
         position: (5, 46),
        },
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "concatStringsSep",
           position: (6, 6),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: " ",
              position: (6, 24),
             },
            ],
            position: (6, 23),
           },
           Parentheses {
            expression: FunctionApplication {
             function: Variable {
              identifier: "mapAttrsToList",
              position: (7, 8),
             },
             arguments: [
              Parentheses {
               expression: Function {
                argument: Simple {
                 identifier: "name",
                },
                definition: Function {
                 argument: Simple {
                  identifier: "value",
                 },
                 definition: String {
                  parts: [
                   Raw {
                    content: "-o '",
                    position: (7, 38),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "name",
                     position: (7, 44),
                    },
                   },
                   Raw {
                    content: "'='",
                    position: (7, 49),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "value",
                     position: (7, 54),
                    },
                   },
                   Raw {
                    content: "'",
                    position: (7, 60),
                   },
                  ],
                  position: (7, 37),
                 },
                 position: (7, 30),
                },
                position: (7, 24),
               },
               position: (7, 23),
              },
              Variable {
               identifier: "options",
               position: (7, 64),
              },
             ],
            },
            position: (7, 7),
           },
          ],
         },
         position: (6, 5),
        },
       ],
      },
      position: (5, 22),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "ensurePrinter",
        position: (9, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "p",
      },
      definition: String {
       parts: [
        Raw {
         content: "",
         position: (10, 1),
        },
        Interpolation {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "pkgs",
           position: (10, 7),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "cups",
             position: (10, 12),
            },
           ],
          },
          default: None,
         },
        },
        Raw {
         content: "/bin/lpadmin -p ",
         position: (10, 17),
        },
        Raw {
         content: "'",
         position: (10, 33),
        },
        Interpolation {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "p",
           position: (10, 36),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "name",
             position: (10, 38),
            },
           ],
          },
          default: None,
         },
        },
        Raw {
         content: "' -E \\\n  ",
         position: (10, 43),
        },
        Interpolation {
         expression: FunctionApplication {
          function: Variable {
           identifier: "optionalString",
           position: (11, 9),
          },
          arguments: [
           Parentheses {
            expression: BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "p",
                position: (11, 25),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "location",
                  position: (11, 27),
                 },
                ],
               },
               default: None,
              },
              Variable {
               identifier: "null",
               position: (11, 39),
              },
             ],
             position: (11, 36),
            },
            position: (11, 24),
           },
           String {
            parts: [
             Raw {
              content: "-L '",
              position: (11, 46),
             },
             Interpolation {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "p",
                position: (11, 52),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "location",
                  position: (11, 54),
                 },
                ],
               },
               default: None,
              },
             },
             Raw {
              content: "'",
              position: (11, 63),
             },
            ],
            position: (11, 45),
           },
          ],
         },
        },
        Raw {
         content: " \\\n  ",
         position: (11, 66),
        },
        Interpolation {
         expression: FunctionApplication {
          function: Variable {
           identifier: "optionalString",
           position: (12, 9),
          },
          arguments: [
           Parentheses {
            expression: BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "p",
                position: (12, 25),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (12, 27),
                 },
                ],
               },
               default: None,
              },
              Variable {
               identifier: "null",
               position: (12, 42),
              },
             ],
             position: (12, 39),
            },
            position: (12, 24),
           },
           String {
            parts: [
             Raw {
              content: "-D '",
              position: (12, 49),
             },
             Interpolation {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "p",
                position: (12, 55),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (12, 57),
                 },
                ],
               },
               default: None,
              },
             },
             Raw {
              content: "'",
              position: (12, 69),
             },
            ],
            position: (12, 48),
           },
          ],
         },
        },
        Raw {
         content: " \\\n  -v ",
         position: (12, 72),
        },
        Raw {
         content: "'",
         position: (13, 10),
        },
        Interpolation {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "p",
           position: (13, 13),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "deviceUri",
             position: (13, 15),
            },
           ],
          },
          default: None,
         },
        },
        Raw {
         content: "' \\\n  -m ",
         position: (13, 25),
        },
        Raw {
         content: "'",
         position: (14, 10),
        },
        Interpolation {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "p",
           position: (14, 13),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "model",
             position: (14, 15),
            },
           ],
          },
          default: None,
         },
        },
        Raw {
         content: "' \\\n  ",
         position: (14, 21),
        },
        Interpolation {
         expression: FunctionApplication {
          function: Variable {
           identifier: "ppdOptionsString",
           position: (15, 9),
          },
          arguments: [
           PropertyAccess {
            expression: Variable {
             identifier: "p",
             position: (15, 26),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "ppdOptions",
               position: (15, 28),
              },
             ],
            },
            default: None,
           },
          ],
         },
        },
        Raw {
         content: "\n",
         position: (15, 39),
        },
       ],
       position: (9, 22),
      },
      position: (9, 19),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "ensureDefaultPrinter",
        position: (17, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "name",
      },
      definition: String {
       parts: [
        Raw {
         content: "",
         position: (18, 1),
        },
        Interpolation {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "pkgs",
           position: (18, 7),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "cups",
             position: (18, 12),
            },
           ],
          },
          default: None,
         },
        },
        Raw {
         content: "/bin/lpadmin -d ",
         position: (18, 17),
        },
        Raw {
         content: "'",
         position: (18, 33),
        },
        Interpolation {
         expression: Variable {
          identifier: "name",
          position: (18, 36),
         },
        },
        Raw {
         content: "'\n",
         position: (18, 41),
        },
       ],
       position: (17, 32),
      },
      position: (17, 26),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "noInvalidChars",
        position: (22, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "str",
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "all",
        position: (22, 25),
       },
       arguments: [
        Parentheses {
         expression: Function {
          argument: Simple {
           identifier: "c",
          },
          definition: BinaryOperation {
           operator: LogicalAnd,
           operands: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              Variable {
               identifier: "c",
               position: (22, 33),
              },
              String {
               parts: [
                Raw {
                 content: "#",
                 position: (22, 39),
                },
               ],
               position: (22, 38),
              },
             ],
             position: (22, 35),
            },
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              Variable {
               identifier: "c",
               position: (22, 45),
              },
              String {
               parts: [
                Raw {
                 content: "/",
                 position: (22, 51),
                },
               ],
               position: (22, 50),
              },
             ],
             position: (22, 47),
            },
           ],
           position: (22, 42),
          },
          position: (22, 30),
         },
         position: (22, 29),
        },
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "stringToCharacters",
           position: (22, 56),
          },
          arguments: [
           Variable {
            identifier: "str",
            position: (22, 75),
           },
          ],
         },
         position: (22, 55),
        },
       ],
      },
      position: (22, 20),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "printerName",
        position: (23, 3),
       },
      ],
     },
     to: BinaryOperation {
      operator: Update,
      operands: [
       Parentheses {
        expression: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "types",
           position: (23, 18),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "addCheck",
             position: (23, 24),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Parentheses {
           expression: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "types",
              position: (23, 34),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "strMatching",
                position: (23, 40),
               },
              ],
             },
             default: None,
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "[[:graph:]]+",
                position: (23, 53),
               },
              ],
              position: (23, 52),
             },
            ],
           },
           position: (23, 33),
          },
          Variable {
           identifier: "noInvalidChars",
           position: (23, 68),
          },
         ],
        },
        position: (23, 17),
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "description",
             position: (24, 10),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "printable string without spaces, # and /",
             position: (24, 25),
            },
           ],
           position: (24, 24),
          },
         },
        ],
        recursive: false,
        position: (24, 8),
       },
      ],
      position: (24, 5),
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (28, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (29, 5),
           },
           Raw {
            content: "printers",
            position: (29, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "ensureDefaultPrinter",
               position: (30, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (30, 30),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (31, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (31, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "nullOr",
                      position: (31, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Variable {
                    identifier: "printerName",
                    position: (31, 29),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (32, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "null",
                  position: (32, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (33, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Ensures the named printer is the default CUPS printer / printer queue.\n",
                    position: (34, 1),
                   },
                  ],
                  position: (33, 23),
                 },
                },
               ],
               recursive: false,
               position: (30, 39),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "ensurePrinters",
               position: (37, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (37, 24),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (38, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Will regularly ensure that the given CUPS printers are configured as declared here.\nIf a printer's options are manually changed afterwards, they will be overwritten eventually.\nThis option will never delete any printer, even if removed from this list.\nYou can check existing printers with <command>lpstat -s</command>\nand remove printers with <command>lpadmin -x &lt;printer-name&gt;</command>.\nPrinters not listed here can still be manually configured.\n",
                    position: (39, 1),
                   },
                  ],
                  position: (38, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (46, 9),
                   },
                  ],
                 },
                 to: List {
                  elements: [],
                  position: (46, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (47, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (47, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "listOf",
                      position: (47, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (47, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "submodule",
                         position: (47, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "options",
                            position: (48, 11),
                           },
                          ],
                         },
                         to: Map {
                          bindings: [
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "name",
                               position: (49, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (49, 20),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (50, 15),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "printerName",
                                  position: (50, 22),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (51, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "BrotherHL_Workroom",
                                    position: (51, 26),
                                   },
                                  ],
                                  position: (51, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (52, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Name of the printer / printer queue.\nMay contain any printable characters except \"/\", \"#\", and space.\n",
                                    position: (53, 1),
                                   },
                                  ],
                                  position: (52, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (49, 29),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "location",
                               position: (57, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (57, 24),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (58, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: PropertyAccess {
                                   expression: Variable {
                                    identifier: "types",
                                    position: (58, 22),
                                   },
                                   attribute_path: AttributePath {
                                    parts: [
                                     Raw {
                                      content: "nullOr",
                                      position: (58, 28),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                  arguments: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "types",
                                     position: (58, 35),
                                    },
                                    attribute_path: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "str",
                                       position: (58, 41),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (59, 15),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "null",
                                  position: (59, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (60, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Workroom",
                                    position: (60, 26),
                                   },
                                  ],
                                  position: (60, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (61, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Optional human-readable location.\n",
                                    position: (62, 1),
                                   },
                                  ],
                                  position: (61, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (57, 33),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "description",
                               position: (65, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (65, 27),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (66, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: PropertyAccess {
                                   expression: Variable {
                                    identifier: "types",
                                    position: (66, 22),
                                   },
                                   attribute_path: AttributePath {
                                    parts: [
                                     Raw {
                                      content: "nullOr",
                                      position: (66, 28),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                  arguments: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "types",
                                     position: (66, 35),
                                    },
                                    attribute_path: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "str",
                                       position: (66, 41),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (67, 15),
                                   },
                                  ],
                                 },
                                 to: Variable {
                                  identifier: "null",
                                  position: (67, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (68, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Brother HL-5140",
                                    position: (68, 26),
                                   },
                                  ],
                                  position: (68, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (69, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Optional human-readable description.\n",
                                    position: (70, 1),
                                   },
                                  ],
                                  position: (69, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (65, 36),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "deviceUri",
                               position: (73, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (73, 25),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (74, 15),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (74, 22),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (74, 28),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (75, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: Variable {
                                   identifier: "literalExpression",
                                   position: (75, 25),
                                  },
                                  arguments: [
                                   String {
                                    parts: [
                                     Raw {
                                      content: "\"ipp://printserver.local/printers/BrotherHL_Workroom\"\n\"usb://HP/DESKJET%20940C?serial=CN16E6C364BH\"\n",
                                      position: (76, 1),
                                     },
                                    ],
                                    position: (75, 43),
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (79, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "How to reach the printer.\n<command>lpinfo -v</command> shows a list of supported device URIs and schemes.\n",
                                    position: (80, 1),
                                   },
                                  ],
                                  position: (79, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (73, 34),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "model",
                               position: (84, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (84, 21),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (85, 15),
                                   },
                                  ],
                                 },
                                 to: PropertyAccess {
                                  expression: Variable {
                                   identifier: "types",
                                   position: (85, 22),
                                  },
                                  attribute_path: AttributePath {
                                   parts: [
                                    Raw {
                                     content: "str",
                                     position: (85, 28),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (86, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: Variable {
                                   identifier: "literalExpression",
                                   position: (86, 25),
                                  },
                                  arguments: [
                                   String {
                                    parts: [
                                     Raw {
                                      content: "\"gutenprint.",
                                      position: (87, 1),
                                     },
                                     Raw {
                                      content: "$",
                                      position: (87, 29),
                                     },
                                     Raw {
                                      content: "{lib.versions.majorMinor (lib.getVersion pkgs.gutenprint)}://brother-hl-5140/expert\"\n",
                                      position: (87, 32),
                                     },
                                    ],
                                    position: (86, 43),
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (89, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Location of the ppd driver file for the printer.\n<command>lpinfo -m</command> shows a list of supported models.\n",
                                    position: (90, 1),
                                   },
                                  ],
                                  position: (89, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (84, 30),
                              },
                             ],
                            },
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "ppdOptions",
                               position: (94, 13),
                              },
                             ],
                            },
                            to: FunctionApplication {
                             function: Variable {
                              identifier: "mkOption",
                              position: (94, 26),
                             },
                             arguments: [
                              Map {
                               bindings: [
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "type",
                                    position: (95, 15),
                                   },
                                  ],
                                 },
                                 to: FunctionApplication {
                                  function: PropertyAccess {
                                   expression: Variable {
                                    identifier: "types",
                                    position: (95, 22),
                                   },
                                   attribute_path: AttributePath {
                                    parts: [
                                     Raw {
                                      content: "attrsOf",
                                      position: (95, 28),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                  arguments: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "types",
                                     position: (95, 36),
                                    },
                                    attribute_path: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "str",
                                       position: (95, 42),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                  ],
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "example",
                                    position: (96, 15),
                                   },
                                  ],
                                 },
                                 to: Map {
                                  bindings: [
                                   Binding {
                                    from: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "PageSize",
                                       position: (97, 17),
                                      },
                                     ],
                                    },
                                    to: String {
                                     parts: [
                                      Raw {
                                       content: "A4",
                                       position: (97, 29),
                                      },
                                     ],
                                     position: (97, 28),
                                    },
                                   },
                                   Binding {
                                    from: AttributePath {
                                     parts: [
                                      Raw {
                                       content: "Duplex",
                                       position: (98, 17),
                                      },
                                     ],
                                    },
                                    to: String {
                                     parts: [
                                      Raw {
                                       content: "DuplexNoTumble",
                                       position: (98, 27),
                                      },
                                     ],
                                     position: (98, 26),
                                    },
                                   },
                                  ],
                                  recursive: false,
                                  position: (96, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "default",
                                    position: (100, 15),
                                   },
                                  ],
                                 },
                                 to: Map {
                                  bindings: [],
                                  recursive: false,
                                  position: (100, 25),
                                 },
                                },
                                Binding {
                                 from: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "description",
                                    position: (101, 15),
                                   },
                                  ],
                                 },
                                 to: String {
                                  parts: [
                                   Raw {
                                    content: "Sets PPD options for the printer.\n<command>lpoptions [-p printername] -l</command> shows suported PPD options for the given printer.\n",
                                    position: (102, 1),
                                   },
                                  ],
                                  position: (101, 29),
                                 },
                                },
                               ],
                               recursive: false,
                               position: (94, 35),
                              },
                             ],
                            },
                           },
                          ],
                          recursive: false,
                          position: (48, 21),
                         },
                        },
                       ],
                       recursive: false,
                       position: (47, 46),
                      },
                     ],
                    },
                    position: (47, 29),
                   },
                  ],
                 },
                },
               ],
               recursive: false,
               position: (37, 33),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (29, 25),
         },
        },
       ],
       recursive: false,
       position: (28, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (112, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (112, 12),
       },
       arguments: [
        Parentheses {
         expression: BinaryOperation {
          operator: LogicalAnd,
          operands: [
           BinaryOperation {
            operator: NotEqualTo,
            operands: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (112, 18),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "ensurePrinters",
                 position: (112, 22),
                },
               ],
              },
              default: None,
             },
             List {
              elements: [],
              position: (112, 40),
             },
            ],
            position: (112, 37),
           },
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (112, 46),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "services",
               position: (112, 53),
              },
              Raw {
               content: "printing",
               position: (112, 62),
              },
              Raw {
               content: "enable",
               position: (112, 71),
              },
             ],
            },
            default: None,
           },
          ],
          position: (112, 43),
         },
         position: (112, 17),
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (113, 5),
             },
             Raw {
              content: "services",
              position: (113, 13),
             },
             Raw {
              content: "ensure-printers",
              position: (113, 22),
             },
            ],
           },
           to: LetIn {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "cupsUnit",
                 position: (114, 7),
                },
               ],
              },
              to: IfThenElse {
               predicate: PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (114, 21),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "services",
                   position: (114, 28),
                  },
                  Raw {
                   content: "printing",
                   position: (114, 37),
                  },
                  Raw {
                   content: "startWhenNeeded",
                   position: (114, 46),
                  },
                 ],
                },
                default: None,
               },
               then: String {
                parts: [
                 Raw {
                  content: "cups.socket",
                  position: (114, 68),
                 },
                ],
                position: (114, 67),
               },
               else_: String {
                parts: [
                 Raw {
                  content: "cups.service",
                  position: (114, 87),
                 },
                ],
                position: (114, 86),
               },
               position: (114, 18),
              },
             },
            ],
            target: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (116, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Ensure NixOS-configured CUPS printers",
                  position: (116, 22),
                 },
                ],
                position: (116, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "wantedBy",
                  position: (117, 7),
                 },
                ],
               },
               to: List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "multi-user.target",
                    position: (117, 21),
                   },
                  ],
                  position: (117, 20),
                 },
                ],
                position: (117, 18),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "requires",
                  position: (118, 7),
                 },
                ],
               },
               to: List {
                elements: [
                 Variable {
                  identifier: "cupsUnit",
                  position: (118, 20),
                 },
                ],
                position: (118, 18),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "after",
                  position: (119, 7),
                 },
                ],
               },
               to: List {
                elements: [
                 Variable {
                  identifier: "cupsUnit",
                  position: (119, 17),
                 },
                ],
                position: (119, 15),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "serviceConfig",
                  position: (121, 7),
                 },
                ],
               },
               to: Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "Type",
                     position: (122, 9),
                    },
                   ],
                  },
                  to: String {
                   parts: [
                    Raw {
                     content: "oneshot",
                     position: (122, 17),
                    },
                   ],
                   position: (122, 16),
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "RemainAfterExit",
                     position: (123, 9),
                    },
                   ],
                  },
                  to: Variable {
                   identifier: "true",
                   position: (123, 27),
                  },
                 },
                ],
                recursive: false,
                position: (121, 23),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "script",
                  position: (126, 7),
                 },
                ],
               },
               to: BinaryOperation {
                operator: Addition,
                operands: [
                 FunctionApplication {
                  function: Variable {
                   identifier: "concatMapStringsSep",
                   position: (126, 16),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "\n",
                      position: (126, 37),
                     },
                    ],
                    position: (126, 36),
                   },
                   Variable {
                    identifier: "ensurePrinter",
                    position: (126, 41),
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (126, 55),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "ensurePrinters",
                       position: (126, 59),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "optionalString",
                   position: (127, 11),
                  },
                  arguments: [
                   Parentheses {
                    expression: BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (127, 27),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "ensureDefaultPrinter",
                          position: (127, 31),
                         },
                        ],
                       },
                       default: None,
                      },
                      Variable {
                       identifier: "null",
                       position: (127, 55),
                      },
                     ],
                     position: (127, 52),
                    },
                    position: (127, 26),
                   },
                   Parentheses {
                    expression: FunctionApplication {
                     function: Variable {
                      identifier: "ensureDefaultPrinter",
                      position: (127, 62),
                     },
                     arguments: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (127, 83),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "ensureDefaultPrinter",
                          position: (127, 87),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                    position: (127, 61),
                   },
                  ],
                 },
                ],
                position: (127, 9),
               },
              },
             ],
             recursive: false,
             position: (115, 8),
            },
            position: (113, 40),
           },
          },
         ],
         recursive: false,
         position: (112, 79),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (27, 4),
   },
   position: (3, 1),
  },
  position: (2, 1),
 },
 position: (1, 1),
}