---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "pkg",
        position: (7, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (7, 9),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "sane-backends",
          position: (7, 14),
         },
         Raw {
          content: "override",
          position: (7, 28),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "scanSnapDriversUnfree",
             position: (8, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (8, 29),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "hardware",
              position: (8, 36),
             },
             Raw {
              content: "sane",
              position: (8, 45),
             },
             Raw {
              content: "drivers",
              position: (8, 50),
             },
             Raw {
              content: "scanSnap",
              position: (8, 58),
             },
             Raw {
              content: "enable",
              position: (8, 67),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "scanSnapDriversPackage",
             position: (9, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (9, 30),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "hardware",
              position: (9, 37),
             },
             Raw {
              content: "sane",
              position: (9, 46),
             },
             Raw {
              content: "drivers",
              position: (9, 51),
             },
             Raw {
              content: "scanSnap",
              position: (9, 59),
             },
             Raw {
              content: "package",
              position: (9, 68),
             },
            ],
           },
           default: None,
          },
         ),
        ],
        recursive: false,
        position: (7, 37),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "sanedConf",
        position: (12, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (12, 15),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeTextFile",
          position: (12, 20),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "name",
             position: (13, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "saned.conf",
             position: (13, 13),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "destination",
             position: (14, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "/etc/sane.d/saned.conf",
             position: (14, 20),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "text",
             position: (15, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "localhost\n",
             position: (16, 1),
            },
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (17, 9),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "services",
                 position: (17, 16),
                },
                Raw {
                 content: "saned",
                 position: (17, 25),
                },
                Raw {
                 content: "extraConfig",
                 position: (17, 31),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: "\n",
             position: (17, 43),
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (12, 34),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "netConf",
        position: (21, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (21, 13),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeTextFile",
          position: (21, 18),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "name",
             position: (22, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "net.conf",
             position: (22, 13),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "destination",
             position: (23, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "/etc/sane.d/net.conf",
             position: (23, 20),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "text",
             position: (24, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "",
             position: (25, 1),
            },
            Expression {
             expression: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (25, 9),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "optionalString",
                  position: (25, 13),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (25, 28),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "services",
                   position: (25, 35),
                  },
                  Raw {
                   content: "saned",
                   position: (25, 44),
                  },
                  Raw {
                   content: "enable",
                   position: (25, 50),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "localhost",
                  position: (25, 58),
                 },
                ],
               },
              ],
             },
            },
            Raw {
             content: "\n",
             position: (25, 69),
            },
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (26, 9),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "hardware",
                 position: (26, 16),
                },
                Raw {
                 content: "sane",
                 position: (26, 25),
                },
                Raw {
                 content: "netConf",
                 position: (26, 30),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: "\n",
             position: (26, 38),
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (21, 32),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "env",
        position: (30, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "SANE_CONFIG_DIR",
           position: (31, 5),
          },
         ],
        },
        PropertyAccess {
         expression: Variable {
          identifier: "config",
          position: (31, 23),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (31, 30),
           },
           Raw {
            content: "sane",
            position: (31, 39),
           },
           Raw {
            content: "configDir",
            position: (31, 44),
           },
          ],
         },
         default: None,
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "LD_LIBRARY_PATH",
           position: (32, 5),
          },
         ],
        },
        List {
         elements: [
          String {
           parts: [
            Expression {
             expression: Variable {
              identifier: "saneConfig",
              position: (32, 28),
             },
            },
            Raw {
             content: "/lib/sane",
             position: (32, 39),
            },
           ],
          },
         ],
         position: (32, 23),
        },
       ),
      ],
      recursive: false,
      position: (30, 9),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "backends",
        position: (35, 3),
       },
      ],
     },
     BinaryOperation {
      operator: Concatenation,
      operands: [
       List {
        elements: [
         Variable {
          identifier: "pkg",
          position: (35, 16),
         },
         Variable {
          identifier: "netConf",
          position: (35, 20),
         },
        ],
        position: (35, 14),
       },
       BinaryOperation {
        operator: Concatenation,
        operands: [
         FunctionApplication {
          function: Variable {
           identifier: "optional",
           position: (35, 33),
          },
          arguments: [
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (35, 42),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "services",
               position: (35, 49),
              },
              Raw {
               content: "saned",
               position: (35, 58),
              },
              Raw {
               content: "enable",
               position: (35, 64),
              },
             ],
            },
            default: None,
           },
           Variable {
            identifier: "sanedConf",
            position: (35, 71),
           },
          ],
         },
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (35, 84),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "hardware",
             position: (35, 91),
            },
            Raw {
             content: "sane",
             position: (35, 100),
            },
            Raw {
             content: "extraBackends",
             position: (35, 105),
            },
           ],
          },
          default: None,
         },
        ],
        position: (35, 81),
       },
      ],
      position: (35, 30),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "saneConfig",
        position: (36, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (36, 16),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkSaneConfig",
          position: (36, 21),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "paths",
             position: (36, 36),
            },
           ],
          },
          Variable {
           identifier: "backends",
           position: (36, 44),
          },
         ),
         Inherit(
          Some(
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (36, 63),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "hardware",
               position: (36, 70),
              },
              Raw {
               content: "sane",
               position: (36, 79),
              },
             ],
            },
            default: None,
           },
          ),
          [
           Raw {
            content: "disabledDefaultBackends",
            position: (36, 85),
           },
          ],
         ),
        ],
        recursive: false,
        position: (36, 34),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "enabled",
        position: (38, 3),
       },
      ],
     },
     BinaryOperation {
      operator: LogicalOr,
      operands: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (38, 13),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "hardware",
           position: (38, 20),
          },
          Raw {
           content: "sane",
           position: (38, 29),
          },
          Raw {
           content: "enable",
           position: (38, 34),
          },
         ],
        },
        default: None,
       },
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (38, 44),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (38, 51),
          },
          Raw {
           content: "saned",
           position: (38, 60),
          },
          Raw {
           content: "enable",
           position: (38, 66),
          },
         ],
        },
        default: None,
       },
      ],
      position: (38, 41),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (46, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (48, 5),
           },
           Raw {
            content: "sane",
            position: (48, 14),
           },
           Raw {
            content: "enable",
            position: (48, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (48, 28),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (49, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (49, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (49, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (50, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (50, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (51, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Enable support for SANE scanners.\n\n<note><para>\n  Users in the \"scanner\" group will gain access to the scanner, or the \"lp\" group if it's also a printer.\n</para></note>\n",
                 position: (52, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (48, 37),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (60, 5),
           },
           Raw {
            content: "sane",
            position: (60, 14),
           },
           Raw {
            content: "snapshot",
            position: (60, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (60, 30),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (61, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (61, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (61, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (62, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (62, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (63, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Use a development snapshot of SANE scanner drivers.",
                 position: (63, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (60, 39),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (66, 5),
           },
           Raw {
            content: "sane",
            position: (66, 14),
           },
           Raw {
            content: "extraBackends",
            position: (66, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (66, 35),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (67, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (67, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (67, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (67, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "path",
                    position: (67, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (68, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (68, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (69, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Packages providing extra SANE backends to enable.\n\n<note><para>\n  The example contains the package for HP scanners.\n</para></note>\n",
                 position: (70, 1),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (76, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (76, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "[ pkgs.hplipWithPlugin ]",
                   position: (76, 36),
                  },
                 ],
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (66, 44),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (79, 5),
           },
           Raw {
            content: "sane",
            position: (79, 14),
           },
           Raw {
            content: "disabledDefaultBackends",
            position: (79, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (79, 45),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (80, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (80, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (80, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (80, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "str",
                    position: (80, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (81, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (81, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (82, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "v4l",
                   position: (82, 20),
                  },
                 ],
                },
               ],
               position: (82, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (83, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Names of backends which are enabled by default but should be disabled.\nSee <literal>$SANE_CONFIG_DIR/dll.conf</literal> for the list of possible names.\n",
                 position: (84, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (79, 54),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (89, 5),
           },
           Raw {
            content: "sane",
            position: (89, 14),
           },
           Raw {
            content: "configDir",
            position: (89, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (89, 31),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (90, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (90, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (90, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "internal",
                 position: (91, 7),
                },
               ],
              },
              Variable {
               identifier: "true",
               position: (91, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (92, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The value of SANE_CONFIG_DIR.",
                 position: (92, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (89, 40),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (95, 5),
           },
           Raw {
            content: "sane",
            position: (95, 14),
           },
           Raw {
            content: "netConf",
            position: (95, 19),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (95, 29),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (96, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (96, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "lines",
                  position: (96, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (97, 7),
                },
               ],
              },
              String {
               parts: [],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (98, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "192.168.0.16",
                 position: (98, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (99, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Network hosts that should be probed for remote scanners.\n",
                 position: (100, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (95, 38),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (104, 5),
           },
           Raw {
            content: "sane",
            position: (104, 14),
           },
           Raw {
            content: "drivers",
            position: (104, 19),
           },
           Raw {
            content: "scanSnap",
            position: (104, 27),
           },
           Raw {
            content: "enable",
            position: (104, 36),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (104, 45),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (105, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (105, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (105, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (106, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (106, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (107, 7),
                },
               ],
              },
              Variable {
               identifier: "true",
               position: (107, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (108, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Whether to enable drivers for the Fujitsu ScanSnap scanners.\n\nThe driver files are unfree and extracted from the Windows driver image.\n",
                 position: (109, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (104, 54),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "hardware",
            position: (115, 5),
           },
           Raw {
            content: "sane",
            position: (115, 14),
           },
           Raw {
            content: "drivers",
            position: (115, 19),
           },
           Raw {
            content: "scanSnap",
            position: (115, 27),
           },
           Raw {
            content: "package",
            position: (115, 36),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (115, 46),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (116, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (116, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "package",
                  position: (116, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (117, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (117, 17),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "sane-drivers",
                  position: (117, 22),
                 },
                 Raw {
                  content: "epjitsu",
                  position: (117, 35),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (118, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (118, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "pkgs.sane-drivers.epjitsu",
                   position: (118, 40),
                  },
                 ],
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (119, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Epjitsu driver package to use. Useful if you want to extract the driver files yourself.\n\nThe process is described in the <literal>/etc/sane.d/epjitsu.conf</literal> file in\nthe <literal>sane-backends</literal> package.\n",
                 position: (120, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (115, 55),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (127, 5),
           },
           Raw {
            content: "saned",
            position: (127, 14),
           },
           Raw {
            content: "enable",
            position: (127, 20),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (127, 29),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (128, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (128, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (128, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (129, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (129, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (130, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Enable saned network daemon for remote connection to scanners.\n\nsaned would be runned from <literal>scanner</literal> user; to allow\naccess to hardware that doesn't have <literal>scanner</literal> group\nyou should add needed groups to this user.\n",
                 position: (131, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (127, 38),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (139, 5),
           },
           Raw {
            content: "saned",
            position: (139, 14),
           },
           Raw {
            content: "extraConfig",
            position: (139, 20),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (139, 34),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (140, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (140, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "lines",
                  position: (140, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (141, 7),
                },
               ],
              },
              String {
               parts: [],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (142, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "192.168.0.0/24",
                 position: (142, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (143, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Extra saned configuration lines.\n",
                 position: (144, 1),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (139, 43),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (46, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (153, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkMerge",
        position: (153, 12),
       },
       arguments: [
        List {
         elements: [
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (154, 6),
           },
           arguments: [
            Variable {
             identifier: "enabled",
             position: (154, 11),
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "hardware",
                  position: (155, 7),
                 },
                 Raw {
                  content: "sane",
                  position: (155, 16),
                 },
                 Raw {
                  content: "configDir",
                  position: (155, 21),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkDefault",
                 position: (155, 33),
                },
                arguments: [
                 String {
                  parts: [
                   Expression {
                    expression: Variable {
                     identifier: "saneConfig",
                     position: (155, 46),
                    },
                   },
                   Raw {
                    content: "/etc/sane.d",
                    position: (155, 57),
                   },
                  ],
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "environment",
                  position: (157, 7),
                 },
                 Raw {
                  content: "systemPackages",
                  position: (157, 19),
                 },
                ],
               },
               Variable {
                identifier: "backends",
                position: (157, 36),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "environment",
                  position: (158, 7),
                 },
                 Raw {
                  content: "sessionVariables",
                  position: (158, 19),
                 },
                ],
               },
               Variable {
                identifier: "env",
                position: (158, 38),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "services",
                  position: (159, 7),
                 },
                 Raw {
                  content: "udev",
                  position: (159, 16),
                 },
                 Raw {
                  content: "packages",
                  position: (159, 21),
                 },
                ],
               },
               Variable {
                identifier: "backends",
                position: (159, 32),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "users",
                  position: (161, 7),
                 },
                 Raw {
                  content: "groups",
                  position: (161, 13),
                 },
                 Raw {
                  content: "scanner",
                  position: (161, 20),
                 },
                 Raw {
                  content: "gid",
                  position: (161, 28),
                 },
                ],
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (161, 34),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "ids",
                   position: (161, 41),
                  },
                  Raw {
                   content: "gids",
                   position: (161, 45),
                  },
                  Raw {
                   content: "scanner",
                   position: (161, 50),
                  },
                 ],
                },
                default: None,
               },
              ),
             ],
             recursive: false,
             position: (154, 19),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (164, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "config",
              position: (164, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "services",
                position: (164, 18),
               },
               Raw {
                content: "saned",
                position: (164, 27),
               },
               Raw {
                content: "enable",
                position: (164, 33),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (165, 7),
                 },
                 Raw {
                  content: "firewall",
                  position: (165, 18),
                 },
                 Raw {
                  content: "connectionTrackingModules",
                  position: (165, 27),
                 },
                ],
               },
               List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "sane",
                    position: (165, 58),
                   },
                  ],
                 },
                ],
                position: (165, 55),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (167, 7),
                 },
                 Raw {
                  content: "services",
                  position: (167, 15),
                 },
                 Expression {
                  expression: String {
                   parts: [
                    Raw {
                     content: "saned@",
                     position: (167, 25),
                    },
                   ],
                  },
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (168, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Scanner Service",
                     position: (168, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "environment",
                     position: (169, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "mapAttrs",
                    position: (169, 23),
                   },
                   arguments: [
                    Function {
                     argument: Some(
                      "name",
                     ),
                     arguments: FunctionArguments {
                      arguments: [],
                      ellipsis: false,
                     },
                     definition: Function {
                      argument: Some(
                       "val",
                      ),
                      arguments: FunctionArguments {
                       arguments: [],
                       ellipsis: false,
                      },
                      definition: FunctionApplication {
                       function: Variable {
                        identifier: "toString",
                        position: (169, 44),
                       },
                       arguments: [
                        Variable {
                         identifier: "val",
                         position: (169, 53),
                        },
                       ],
                      },
                      position: (169, 39),
                     },
                     position: (169, 33),
                    },
                    Variable {
                     identifier: "env",
                     position: (169, 58),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (170, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (171, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "scanner",
                        position: (171, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Group",
                        position: (172, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "scanner",
                        position: (172, 20),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (173, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: Variable {
                         identifier: "pkg",
                         position: (173, 26),
                        },
                       },
                       Raw {
                        content: "/bin/saned",
                        position: (173, 30),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (170, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (167, 35),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (177, 7),
                 },
                 Raw {
                  content: "sockets",
                  position: (177, 15),
                 },
                 Raw {
                  content: "saned",
                  position: (177, 23),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (178, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "saned incoming socket",
                     position: (178, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (179, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "sockets.target",
                       position: (179, 23),
                      },
                     ],
                    },
                   ],
                   position: (179, 20),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "listenStreams",
                     position: (180, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "0.0.0.0:6566",
                       position: (180, 28),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "[::]:6566",
                       position: (180, 43),
                      },
                     ],
                    },
                   ],
                   position: (180, 25),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "socketConfig",
                     position: (181, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "BindIPv6Only",
                        position: (183, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "ipv6-only",
                        position: (183, 27),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Accept",
                        position: (184, 11),
                       },
                      ],
                     },
                     Variable {
                      identifier: "true",
                      position: (184, 20),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "MaxConnections",
                        position: (185, 11),
                       },
                      ],
                     },
                     Int {
                      value: 64,
                      position: (185, 28),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (181, 24),
                  },
                 ),
                ],
                recursive: false,
                position: (177, 31),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "users",
                  position: (189, 7),
                 },
                 Raw {
                  content: "users",
                  position: (189, 13),
                 },
                 Raw {
                  content: "scanner",
                  position: (189, 19),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "uid",
                     position: (190, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "config",
                    position: (190, 15),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "ids",
                      position: (190, 22),
                     },
                     Raw {
                      content: "uids",
                      position: (190, 26),
                     },
                     Raw {
                      content: "scanner",
                      position: (190, 31),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (191, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "scanner",
                     position: (191, 18),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "extraGroups",
                     position: (192, 9),
                    },
                   ],
                  },
                  BinaryOperation {
                   operator: Concatenation,
                   operands: [
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "lp",
                         position: (192, 26),
                        },
                       ],
                      },
                     ],
                     position: (192, 23),
                    },
                    FunctionApplication {
                     function: Variable {
                      identifier: "optionals",
                      position: (192, 35),
                     },
                     arguments: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "config",
                        position: (192, 45),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "services",
                          position: (192, 52),
                         },
                         Raw {
                          content: "avahi",
                          position: (192, 61),
                         },
                         Raw {
                          content: "enable",
                          position: (192, 67),
                         },
                        ],
                       },
                       default: None,
                      },
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "avahi",
                           position: (192, 77),
                          },
                         ],
                        },
                       ],
                       position: (192, 74),
                      },
                     ],
                    },
                   ],
                   position: (192, 32),
                  },
                 ),
                ],
                recursive: false,
                position: (189, 29),
               },
              ),
             ],
             recursive: false,
             position: (164, 40),
            },
           ],
          },
         ],
         position: (153, 20),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (42, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}