---
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: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 16),
        },
        Raw {
         content: "phosh",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "oskItem",
        position: (9, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (9, 13),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "makeDesktopItem",
          position: (9, 18),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "name",
             position: (10, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "sm.puri.OSK0",
             position: (10, 13),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "desktopName",
             position: (11, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "On-screen keyboard",
             position: (11, 20),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "exec",
             position: (12, 5),
            },
           ],
          },
          String {
           parts: [
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (12, 15),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "squeekboard",
                 position: (12, 20),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: "/bin/squeekboard",
             position: (12, 32),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "categories",
             position: (13, 5),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "GNOME",
               position: (13, 21),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "Core",
               position: (13, 29),
              },
             ],
            },
           ],
           position: (13, 18),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "onlyShowIn",
             position: (14, 5),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "GNOME",
               position: (14, 21),
              },
             ],
            },
           ],
           position: (14, 18),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "noDisplay",
             position: (15, 5),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (15, 17),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "extraConfig",
             position: (16, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "X-GNOME-Autostart-Phase",
                position: (17, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Panel",
                position: (17, 34),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "X-GNOME-Provides",
                position: (18, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "inputmethod",
                position: (18, 27),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "X-GNOME-Autostart-Notify",
                position: (19, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "true",
                position: (19, 35),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "X-GNOME-AutoRestart",
                position: (20, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "true",
                position: (20, 30),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (16, 19),
          },
         ),
        ],
        recursive: false,
        position: (9, 34),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "phocConfigType",
        position: (24, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "types",
        position: (24, 20),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "submodule",
          position: (24, 26),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "options",
             position: (25, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "xwayland",
                position: (26, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (26, 18),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (27, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Whether to enable XWayland support.\n\nTo start XWayland immediately, use `immediate`.\n",
                     position: (28, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (32, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (32, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "enum",
                       position: (32, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "true",
                         position: (32, 30),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "false",
                         position: (32, 37),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "immediate",
                         position: (32, 45),
                        },
                       ],
                      },
                     ],
                     position: (32, 27),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (33, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "false",
                     position: (33, 20),
                    },
                   ],
                  },
                 ),
                ],
                recursive: false,
                position: (26, 27),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "cursorTheme",
                position: (35, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (35, 21),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (36, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Cursor theme to use in Phosh.\n",
                     position: (37, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (39, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (39, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "str",
                      position: (39, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (40, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "default",
                     position: (40, 20),
                    },
                   ],
                  },
                 ),
                ],
                recursive: false,
                position: (35, 30),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "outputs",
                position: (42, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (42, 17),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (43, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Output configurations.\n",
                     position: (44, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (46, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (46, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "attrsOf",
                       position: (46, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    Variable {
                     identifier: "phocOutputType",
                     position: (46, 30),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (47, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "DSI-1",
                        position: (48, 11),
                       },
                      ],
                     },
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "scale",
                           position: (49, 13),
                          },
                         ],
                        },
                        Int {
                         value: 2,
                         position: (49, 21),
                        },
                       ),
                      ],
                      recursive: false,
                      position: (48, 19),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (47, 19),
                  },
                 ),
                ],
                recursive: false,
                position: (42, 26),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (25, 15),
          },
         ),
        ],
        recursive: false,
        position: (24, 36),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "phocOutputType",
        position: (56, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "types",
        position: (56, 20),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "submodule",
          position: (56, 26),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "options",
             position: (57, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "modeline",
                position: (58, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (58, 18),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (59, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "One or more modelines.\n",
                     position: (60, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (62, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (62, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "either",
                       position: (62, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (62, 29),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (62, 35),
                       },
                      ],
                     },
                     default: None,
                    },
                    FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (62, 40),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "listOf",
                         position: (62, 46),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "types",
                        position: (62, 53),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "str",
                          position: (62, 59),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (63, 9),
                    },
                   ],
                  },
                  List {
                   elements: [],
                   position: (63, 19),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "example",
                     position: (64, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "87.25 720 776 848  976 1440 1443 1453 1493 -hsync +vsync",
                       position: (65, 12),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "65.13 768 816 896 1024 1024 1025 1028 1060 -HSync +VSync",
                       position: (66, 12),
                      },
                     ],
                    },
                   ],
                   position: (64, 19),
                  },
                 ),
                ],
                recursive: false,
                position: (58, 27),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "mode",
                position: (69, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (69, 14),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (70, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Default video mode.\n",
                     position: (71, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (73, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (73, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "nullOr",
                       position: (73, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (73, 29),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (73, 35),
                       },
                      ],
                     },
                     default: None,
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (74, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "null",
                   position: (74, 19),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "example",
                     position: (75, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "768x1024",
                     position: (75, 20),
                    },
                   ],
                  },
                 ),
                ],
                recursive: false,
                position: (69, 23),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "scale",
                position: (77, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (77, 15),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (78, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Display scaling factor.\n",
                     position: (79, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (81, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (81, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "nullOr",
                       position: (81, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (81, 29),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "ints",
                        position: (81, 35),
                       },
                       Raw {
                        content: "unsigned",
                        position: (81, 40),
                       },
                      ],
                     },
                     default: None,
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (82, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "null",
                   position: (82, 19),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "example",
                     position: (83, 9),
                    },
                   ],
                  },
                  Int {
                   value: 2,
                   position: (83, 19),
                  },
                 ),
                ],
                recursive: false,
                position: (77, 24),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "rotate",
                position: (85, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "mkOption",
               position: (85, 16),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (86, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Screen transformation.\n",
                     position: (87, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (89, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (89, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "enum",
                       position: (89, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    List {
                     elements: [
                      String {
                       parts: [
                        Raw {
                         content: "90",
                         position: (90, 12),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "180",
                         position: (90, 17),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "270",
                         position: (90, 23),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "flipped",
                         position: (90, 29),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "flipped-90",
                         position: (90, 39),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "flipped-180",
                         position: (90, 52),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "flipped-270",
                         position: (90, 66),
                        },
                       ],
                      },
                      Variable {
                       identifier: "null",
                       position: (90, 79),
                      },
                     ],
                     position: (89, 27),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "default",
                     position: (92, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "null",
                   position: (92, 19),
                  },
                 ),
                ],
                recursive: false,
                position: (85, 25),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (57, 15),
          },
         ),
        ],
        recursive: false,
        position: (56, 36),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "optionalKV",
        position: (97, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "k",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "v",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: IfThenElse {
        predicate: BinaryOperation {
         operator: EqualTo,
         operands: [
          Variable {
           identifier: "v",
           position: (97, 25),
          },
          Variable {
           identifier: "null",
           position: (97, 30),
          },
         ],
         position: (97, 27),
        },
        then: String {
         parts: [],
        },
        else_: String {
         parts: [
          Expression {
           expression: Variable {
            identifier: "k",
            position: (97, 51),
           },
          },
          Raw {
           content: " = ",
           position: (97, 53),
          },
          Expression {
           expression: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "builtins",
              position: (97, 58),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "toString",
                position: (97, 67),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "v",
              position: (97, 76),
             },
            ],
           },
          },
         ],
        },
        position: (97, 22),
       },
       position: (97, 19),
      },
      position: (97, 16),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "renderPhocOutput",
        position: (99, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "name",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "output",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: LetIn {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "modelines",
             position: (100, 5),
            },
           ],
          },
          IfThenElse {
           predicate: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "builtins",
              position: (100, 20),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "isList",
                position: (100, 29),
               },
              ],
             },
             default: None,
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "output",
               position: (100, 36),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "modeline",
                 position: (100, 43),
                },
               ],
              },
              default: None,
             },
            ],
           },
           then: PropertyAccess {
            expression: Variable {
             identifier: "output",
             position: (101, 12),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "modeline",
               position: (101, 19),
              },
             ],
            },
            default: None,
           },
           else_: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "output",
               position: (102, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "modeline",
                 position: (102, 21),
                },
               ],
              },
              default: None,
             },
            ],
            position: (102, 12),
           },
           position: (100, 17),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "renderModeline",
             position: (103, 5),
            },
           ],
          },
          Function {
           argument: Some(
            "l",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: String {
            parts: [
             Raw {
              content: "modeline = ",
              position: (103, 26),
             },
             Expression {
              expression: Variable {
               identifier: "l",
               position: (103, 39),
              },
             },
            ],
           },
           position: (103, 22),
          },
         ),
        ],
        target: String {
         parts: [
          Raw {
           content: "[output:",
           position: (105, 1),
          },
          Expression {
           expression: Variable {
            identifier: "name",
            position: (105, 15),
           },
          },
          Raw {
           content: "]\n",
           position: (105, 20),
          },
          Expression {
           expression: FunctionApplication {
            function: Variable {
             identifier: "concatStringsSep",
             position: (106, 7),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "\n",
                position: (106, 25),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "map",
               position: (106, 30),
              },
              arguments: [
               Variable {
                identifier: "renderModeline",
                position: (106, 34),
               },
               Variable {
                identifier: "modelines",
                position: (106, 49),
               },
              ],
             },
            ],
           },
          },
          Raw {
           content: "\n",
           position: (106, 60),
          },
          Expression {
           expression: FunctionApplication {
            function: Variable {
             identifier: "optionalKV",
             position: (107, 7),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "mode",
                position: (107, 19),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "output",
               position: (107, 25),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "mode",
                 position: (107, 32),
                },
               ],
              },
              default: None,
             },
            ],
           },
          },
          Raw {
           content: "\n",
           position: (107, 37),
          },
          Expression {
           expression: FunctionApplication {
            function: Variable {
             identifier: "optionalKV",
             position: (108, 7),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "scale",
                position: (108, 19),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "output",
               position: (108, 26),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "scale",
                 position: (108, 33),
                },
               ],
              },
              default: None,
             },
            ],
           },
          },
          Raw {
           content: "\n",
           position: (108, 39),
          },
          Expression {
           expression: FunctionApplication {
            function: Variable {
             identifier: "optionalKV",
             position: (109, 7),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "rotate",
                position: (109, 19),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "output",
               position: (109, 27),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "rotate",
                 position: (109, 34),
                },
               ],
              },
              default: None,
             },
            ],
           },
          },
          Raw {
           content: "\n",
           position: (109, 41),
          },
         ],
        },
        position: (99, 36),
       },
       position: (99, 28),
      },
      position: (99, 22),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "renderPhocConfig",
        position: (112, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "phoc",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "outputs",
            position: (113, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mapAttrsToList",
           position: (113, 15),
          },
          arguments: [
           Variable {
            identifier: "renderPhocOutput",
            position: (113, 30),
           },
           PropertyAccess {
            expression: Variable {
             identifier: "phoc",
             position: (113, 47),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "outputs",
               position: (113, 52),
              },
             ],
            },
            default: None,
           },
          ],
         },
        ),
       ],
       target: String {
        parts: [
         Raw {
          content: "[core]\nxwayland = ",
          position: (115, 1),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "phoc",
            position: (116, 18),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "xwayland",
              position: (116, 23),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (116, 32),
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "concatStringsSep",
            position: (117, 7),
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: "\n",
               position: (117, 25),
              },
             ],
            },
            Variable {
             identifier: "outputs",
             position: (117, 29),
            },
           ],
          },
         },
         Raw {
          content: "\n[cursor]\ntheme = ",
          position: (117, 37),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "phoc",
            position: (119, 15),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "cursorTheme",
              position: (119, 20),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (119, 32),
         },
        ],
       },
       position: (112, 28),
      },
      position: (112, 22),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (122, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "programs",
            position: (123, 5),
           },
           Raw {
            content: "phosh",
            position: (123, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (124, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (124, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to enable, Phosh, related packages and default configurations.\n",
                 position: (125, 1),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "phocConfig",
               position: (127, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (127, 20),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (128, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Configurations for the Phoc compositor.\n",
                    position: (129, 1),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (131, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (131, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "oneOf",
                      position: (131, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   List {
                    elements: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (131, 30),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "lines",
                         position: (131, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (131, 42),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "path",
                         position: (131, 48),
                        },
                       ],
                      },
                      default: None,
                     },
                     Variable {
                      identifier: "phocConfigType",
                      position: (131, 53),
                     },
                    ],
                    position: (131, 28),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (132, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [],
                  recursive: false,
                  position: (132, 19),
                 },
                ),
               ],
               recursive: false,
               position: (127, 29),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (123, 22),
         },
        ),
       ],
       recursive: false,
       position: (122, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (137, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (137, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (137, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (137, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (138, 5),
             },
             Raw {
              content: "systemPackages",
              position: (138, 17),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (139, 7),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "phoc",
                 position: (139, 12),
                },
               ],
              },
              default: None,
             },
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (140, 7),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "phosh",
                 position: (140, 12),
                },
               ],
              },
              default: None,
             },
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (141, 7),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "squeekboard",
                 position: (141, 12),
                },
               ],
              },
              default: None,
             },
             Variable {
              identifier: "oskItem",
              position: (142, 7),
             },
            ],
            position: (138, 34),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (145, 5),
             },
             Raw {
              content: "packages",
              position: (145, 13),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (145, 26),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "phosh",
                 position: (145, 31),
                },
               ],
              },
              default: None,
             },
            ],
            position: (145, 24),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "programs",
              position: (147, 5),
             },
             Raw {
              content: "feedbackd",
              position: (147, 14),
             },
             Raw {
              content: "enable",
              position: (147, 24),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (147, 33),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "security",
              position: (149, 5),
             },
             Raw {
              content: "pam",
              position: (149, 14),
             },
             Raw {
              content: "services",
              position: (149, 18),
             },
             Raw {
              content: "phosh",
              position: (149, 27),
             },
            ],
           },
           Map {
            bindings: [],
            recursive: false,
            position: (149, 35),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "hardware",
              position: (151, 5),
             },
             Raw {
              content: "opengl",
              position: (151, 14),
             },
             Raw {
              content: "enable",
              position: (151, 21),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkDefault",
             position: (151, 30),
            },
            arguments: [
             Variable {
              identifier: "true",
              position: (151, 40),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (153, 5),
             },
             Raw {
              content: "gnome",
              position: (153, 14),
             },
             Raw {
              content: "core-shell",
              position: (153, 20),
             },
             Raw {
              content: "enable",
              position: (153, 31),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (153, 40),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (154, 5),
             },
             Raw {
              content: "gnome",
              position: (154, 14),
             },
             Raw {
              content: "core-os-services",
              position: (154, 20),
             },
             Raw {
              content: "enable",
              position: (154, 37),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (154, 46),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (155, 5),
             },
             Raw {
              content: "xserver",
              position: (155, 14),
             },
             Raw {
              content: "displayManager",
              position: (155, 22),
             },
             Raw {
              content: "sessionPackages",
              position: (155, 37),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (155, 57),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "phosh",
                 position: (155, 62),
                },
               ],
              },
              default: None,
             },
            ],
            position: (155, 55),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (157, 5),
             },
             Raw {
              content: "etc",
              position: (157, 17),
             },
             Expression {
              expression: String {
               parts: [
                Raw {
                 content: "phosh/phoc.ini",
                 position: (157, 22),
                },
               ],
              },
             },
             Raw {
              content: "source",
              position: (157, 38),
             },
            ],
           },
           IfThenElse {
            predicate: FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "builtins",
               position: (158, 10),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "isPath",
                 position: (158, 19),
                },
               ],
              },
              default: None,
             },
             arguments: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (158, 26),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "phocConfig",
                  position: (158, 30),
                 },
                ],
               },
               default: None,
              },
             ],
            },
            then: PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (158, 46),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "phocConfig",
                position: (158, 50),
               },
              ],
             },
             default: None,
            },
            else_: IfThenElse {
             predicate: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "builtins",
                position: (159, 15),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "isString",
                  position: (159, 24),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (159, 33),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "phocConfig",
                   position: (159, 37),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
             then: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (159, 53),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "writeText",
                  position: (159, 58),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               String {
                parts: [
                 Raw {
                  content: "phoc.ini",
                  position: (159, 69),
                 },
                ],
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (159, 79),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "phocConfig",
                   position: (159, 83),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
             else_: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (160, 12),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "writeText",
                  position: (160, 17),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               String {
                parts: [
                 Raw {
                  content: "phoc.ini",
                  position: (160, 28),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "renderPhocConfig",
                 position: (160, 39),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (160, 56),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "phocConfig",
                     position: (160, 60),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              ],
             },
             position: (159, 12),
            },
            position: (158, 7),
           },
          ),
         ],
         recursive: false,
         position: (137, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (121, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}