Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
    ],
   },
  ),
  body: With(
   With {
    expression: Identifier(
     Identifier {
      id: "lib",
      span: Span {
       start: Position {
        line: 2,
        column: 6,
       },
       end: Position {
        line: 2,
        column: 9,
       },
      },
     },
    ),
    target: Map(
     Map {
      recursive: false,
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "options",
            span: Span {
             start: Position {
              line: 4,
              column: 3,
             },
             end: Position {
              line: 4,
              column: 10,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "programs",
            span: Span {
             start: Position {
              line: 4,
              column: 11,
             },
             end: Position {
              line: 4,
              column: 19,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "kdeconnect",
            span: Span {
             start: Position {
              line: 4,
              column: 20,
             },
             end: Position {
              line: 4,
              column: 30,
             },
            },
           },
          ),
         ],
         to: Map(
          Map {
           recursive: false,
           bindings: [
            KeyValue(
             BindingKeyValue {
              from: [
               Raw(
                PartRaw {
                 content: "enable",
                 span: Span {
                  start: Position {
                   line: 5,
                   column: 5,
                  },
                  end: Position {
                   line: 5,
                   column: 11,
                  },
                 },
                },
               ),
              ],
              to: FunctionApplication(
               FunctionApplication {
                function: Identifier(
                 Identifier {
                  id: "mkEnableOption",
                  span: Span {
                   start: Position {
                    line: 5,
                    column: 14,
                   },
                   end: Position {
                    line: 5,
                    column: 28,
                   },
                  },
                 },
                ),
                arguments: [
                 FunctionApplication(
                  FunctionApplication {
                   function: PropertyAccess(
                    PropertyAccess {
                     expression: Identifier(
                      Identifier {
                       id: "lib",
                       span: Span {
                        start: Position {
                         line: 5,
                         column: 30,
                        },
                        end: Position {
                         line: 5,
                         column: 33,
                        },
                       },
                      },
                     ),
                     attribute_path: [
                      Raw(
                       PartRaw {
                        content: "mdDoc",
                        span: Span {
                         start: Position {
                          line: 5,
                          column: 34,
                         },
                         end: Position {
                          line: 5,
                          column: 39,
                         },
                        },
                       },
                      ),
                     ],
                     default: None,
                    },
                   ),
                   arguments: [
                    IndentedString(
                     IndentedString {
                      parts: [
                       Raw(
                        PartRaw {
                         content: "kdeconnect.\n\nNote that it will open the TCP and UDP port from\n1714 to 1764 as they are needed for it to function properly.\nYou can use the {option}`package` to use\n`gnomeExtensions.gsconnect` as an alternative\nimplementation if you use Gnome.\n",
                         span: Span {
                          start: Position {
                           line: 6,
                           column: 1,
                          },
                          end: Position {
                           line: 13,
                           column: 5,
                          },
                         },
                        },
                       ),
                      ],
                      span: Span {
                       start: Position {
                        line: 5,
                        column: 40,
                       },
                       end: Position {
                        line: 13,
                        column: 7,
                       },
                      },
                     },
                    ),
                   ],
                  },
                 ),
                ],
               },
              ),
             },
            ),
            KeyValue(
             BindingKeyValue {
              from: [
               Raw(
                PartRaw {
                 content: "package",
                 span: Span {
                  start: Position {
                   line: 14,
                   column: 5,
                  },
                  end: Position {
                   line: 14,
                   column: 12,
                  },
                 },
                },
               ),
              ],
              to: FunctionApplication(
               FunctionApplication {
                function: Identifier(
                 Identifier {
                  id: "mkOption",
                  span: Span {
                   start: Position {
                    line: 14,
                    column: 15,
                   },
                   end: Position {
                    line: 14,
                    column: 23,
                   },
                  },
                 },
                ),
                arguments: [
                 Map(
                  Map {
                   recursive: false,
                   bindings: [
                    KeyValue(
                     BindingKeyValue {
                      from: [
                       Raw(
                        PartRaw {
                         content: "default",
                         span: Span {
                          start: Position {
                           line: 15,
                           column: 7,
                          },
                          end: Position {
                           line: 15,
                           column: 14,
                          },
                         },
                        },
                       ),
                      ],
                      to: PropertyAccess(
                       PropertyAccess {
                        expression: Identifier(
                         Identifier {
                          id: "pkgs",
                          span: Span {
                           start: Position {
                            line: 15,
                            column: 17,
                           },
                           end: Position {
                            line: 15,
                            column: 21,
                           },
                          },
                         },
                        ),
                        attribute_path: [
                         Raw(
                          PartRaw {
                           content: "plasma5Packages",
                           span: Span {
                            start: Position {
                             line: 15,
                             column: 22,
                            },
                            end: Position {
                             line: 15,
                             column: 37,
                            },
                           },
                          },
                         ),
                         Raw(
                          PartRaw {
                           content: "kdeconnect-kde",
                           span: Span {
                            start: Position {
                             line: 15,
                             column: 38,
                            },
                            end: Position {
                             line: 15,
                             column: 52,
                            },
                           },
                          },
                         ),
                        ],
                        default: None,
                       },
                      ),
                     },
                    ),
                    KeyValue(
                     BindingKeyValue {
                      from: [
                       Raw(
                        PartRaw {
                         content: "defaultText",
                         span: Span {
                          start: Position {
                           line: 16,
                           column: 7,
                          },
                          end: Position {
                           line: 16,
                           column: 18,
                          },
                         },
                        },
                       ),
                      ],
                      to: FunctionApplication(
                       FunctionApplication {
                        function: Identifier(
                         Identifier {
                          id: "literalExpression",
                          span: Span {
                           start: Position {
                            line: 16,
                            column: 21,
                           },
                           end: Position {
                            line: 16,
                            column: 38,
                           },
                          },
                         },
                        ),
                        arguments: [
                         String(
                          String_ {
                           parts: [
                            Raw(
                             PartRaw {
                              content: "pkgs.plasma5Packages.kdeconnect-kde",
                              span: Span {
                               start: Position {
                                line: 16,
                                column: 40,
                               },
                               end: Position {
                                line: 16,
                                column: 75,
                               },
                              },
                             },
                            ),
                           ],
                           span: Span {
                            start: Position {
                             line: 16,
                             column: 39,
                            },
                            end: Position {
                             line: 16,
                             column: 76,
                            },
                           },
                          },
                         ),
                        ],
                       },
                      ),
                     },
                    ),
                    KeyValue(
                     BindingKeyValue {
                      from: [
                       Raw(
                        PartRaw {
                         content: "type",
                         span: Span {
                          start: Position {
                           line: 17,
                           column: 7,
                          },
                          end: Position {
                           line: 17,
                           column: 11,
                          },
                         },
                        },
                       ),
                      ],
                      to: PropertyAccess(
                       PropertyAccess {
                        expression: Identifier(
                         Identifier {
                          id: "types",
                          span: Span {
                           start: Position {
                            line: 17,
                            column: 14,
                           },
                           end: Position {
                            line: 17,
                            column: 19,
                           },
                          },
                         },
                        ),
                        attribute_path: [
                         Raw(
                          PartRaw {
                           content: "package",
                           span: Span {
                            start: Position {
                             line: 17,
                             column: 20,
                            },
                            end: Position {
                             line: 17,
                             column: 27,
                            },
                           },
                          },
                         ),
                        ],
                        default: None,
                       },
                      ),
                     },
                    ),
                    KeyValue(
                     BindingKeyValue {
                      from: [
                       Raw(
                        PartRaw {
                         content: "example",
                         span: Span {
                          start: Position {
                           line: 18,
                           column: 7,
                          },
                          end: Position {
                           line: 18,
                           column: 14,
                          },
                         },
                        },
                       ),
                      ],
                      to: FunctionApplication(
                       FunctionApplication {
                        function: Identifier(
                         Identifier {
                          id: "literalExpression",
                          span: Span {
                           start: Position {
                            line: 18,
                            column: 17,
                           },
                           end: Position {
                            line: 18,
                            column: 34,
                           },
                          },
                         },
                        ),
                        arguments: [
                         String(
                          String_ {
                           parts: [
                            Raw(
                             PartRaw {
                              content: "pkgs.gnomeExtensions.gsconnect",
                              span: Span {
                               start: Position {
                                line: 18,
                                column: 36,
                               },
                               end: Position {
                                line: 18,
                                column: 66,
                               },
                              },
                             },
                            ),
                           ],
                           span: Span {
                            start: Position {
                             line: 18,
                             column: 35,
                            },
                            end: Position {
                             line: 18,
                             column: 67,
                            },
                           },
                          },
                         ),
                        ],
                       },
                      ),
                     },
                    ),
                    KeyValue(
                     BindingKeyValue {
                      from: [
                       Raw(
                        PartRaw {
                         content: "description",
                         span: Span {
                          start: Position {
                           line: 19,
                           column: 7,
                          },
                          end: Position {
                           line: 19,
                           column: 18,
                          },
                         },
                        },
                       ),
                      ],
                      to: FunctionApplication(
                       FunctionApplication {
                        function: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "lib",
                            span: Span {
                             start: Position {
                              line: 19,
                              column: 21,
                             },
                             end: Position {
                              line: 19,
                              column: 24,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "mdDoc",
                             span: Span {
                              start: Position {
                               line: 19,
                               column: 25,
                              },
                              end: Position {
                               line: 19,
                               column: 30,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                        arguments: [
                         IndentedString(
                          IndentedString {
                           parts: [
                            Raw(
                             PartRaw {
                              content: "The package providing the implementation for kdeconnect.\n",
                              span: Span {
                               start: Position {
                                line: 20,
                                column: 1,
                               },
                               end: Position {
                                line: 21,
                                column: 7,
                               },
                              },
                             },
                            ),
                           ],
                           span: Span {
                            start: Position {
                             line: 19,
                             column: 31,
                            },
                            end: Position {
                             line: 21,
                             column: 9,
                            },
                           },
                          },
                         ),
                        ],
                       },
                      ),
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 14,
                     column: 24,
                    },
                    end: Position {
                     line: 22,
                     column: 6,
                    },
                   },
                  },
                 ),
                ],
               },
              ),
             },
            ),
           ],
           span: Span {
            start: Position {
             line: 4,
             column: 33,
            },
            end: Position {
             line: 23,
             column: 4,
            },
           },
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "config",
            span: Span {
             start: Position {
              line: 24,
              column: 3,
             },
             end: Position {
              line: 24,
              column: 9,
             },
            },
           },
          ),
         ],
         to: LetIn(
          LetIn {
           bindings: [
            KeyValue(
             BindingKeyValue {
              from: [
               Raw(
                PartRaw {
                 content: "cfg",
                 span: Span {
                  start: Position {
                   line: 26,
                   column: 7,
                  },
                  end: Position {
                   line: 26,
                   column: 10,
                  },
                 },
                },
               ),
              ],
              to: PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "config",
                  span: Span {
                   start: Position {
                    line: 26,
                    column: 13,
                   },
                   end: Position {
                    line: 26,
                    column: 19,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "programs",
                   span: Span {
                    start: Position {
                     line: 26,
                     column: 20,
                    },
                    end: Position {
                     line: 26,
                     column: 28,
                    },
                   },
                  },
                 ),
                 Raw(
                  PartRaw {
                   content: "kdeconnect",
                   span: Span {
                    start: Position {
                     line: 26,
                     column: 29,
                    },
                    end: Position {
                     line: 26,
                     column: 39,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
             },
            ),
           ],
           target: FunctionApplication(
            FunctionApplication {
             function: Identifier(
              Identifier {
               id: "mkIf",
               span: Span {
                start: Position {
                 line: 28,
                 column: 7,
                },
                end: Position {
                 line: 28,
                 column: 11,
                },
               },
              },
             ),
             arguments: [
              PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "cfg",
                  span: Span {
                   start: Position {
                    line: 28,
                    column: 12,
                   },
                   end: Position {
                    line: 28,
                    column: 15,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "enable",
                   span: Span {
                    start: Position {
                     line: 28,
                     column: 16,
                    },
                    end: Position {
                     line: 28,
                     column: 22,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
              Map(
               Map {
                recursive: false,
                bindings: [
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "environment",
                      span: Span {
                       start: Position {
                        line: 29,
                        column: 9,
                       },
                       end: Position {
                        line: 29,
                        column: 20,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "systemPackages",
                      span: Span {
                       start: Position {
                        line: 29,
                        column: 21,
                       },
                       end: Position {
                        line: 29,
                        column: 35,
                       },
                      },
                     },
                    ),
                   ],
                   to: List(
                    List {
                     elements: [
                      PropertyAccess(
                       PropertyAccess {
                        expression: Identifier(
                         Identifier {
                          id: "cfg",
                          span: Span {
                           start: Position {
                            line: 29,
                            column: 40,
                           },
                           end: Position {
                            line: 29,
                            column: 43,
                           },
                          },
                         },
                        ),
                        attribute_path: [
                         Raw(
                          PartRaw {
                           content: "package",
                           span: Span {
                            start: Position {
                             line: 29,
                             column: 44,
                            },
                            end: Position {
                             line: 29,
                             column: 51,
                            },
                           },
                          },
                         ),
                        ],
                        default: None,
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 29,
                       column: 38,
                      },
                      end: Position {
                       line: 29,
                       column: 53,
                      },
                     },
                    },
                   ),
                  },
                 ),
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "networking",
                      span: Span {
                       start: Position {
                        line: 30,
                        column: 9,
                       },
                       end: Position {
                        line: 30,
                        column: 19,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "firewall",
                      span: Span {
                       start: Position {
                        line: 30,
                        column: 20,
                       },
                       end: Position {
                        line: 30,
                        column: 28,
                       },
                      },
                     },
                    ),
                   ],
                   to: Map(
                    Map {
                     recursive: true,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "allowedTCPPortRanges",
                           span: Span {
                            start: Position {
                             line: 31,
                             column: 11,
                            },
                            end: Position {
                             line: 31,
                             column: 31,
                            },
                           },
                          },
                         ),
                        ],
                        to: List(
                         List {
                          elements: [
                           Map(
                            Map {
                             recursive: false,
                             bindings: [
                              KeyValue(
                               BindingKeyValue {
                                from: [
                                 Raw(
                                  PartRaw {
                                   content: "from",
                                   span: Span {
                                    start: Position {
                                     line: 31,
                                     column: 38,
                                    },
                                    end: Position {
                                     line: 31,
                                     column: 42,
                                    },
                                   },
                                  },
                                 ),
                                ],
                                to: Integer(
                                 Integer {
                                  value: "1714",
                                  span: Span {
                                   start: Position {
                                    line: 31,
                                    column: 45,
                                   },
                                   end: Position {
                                    line: 31,
                                    column: 49,
                                   },
                                  },
                                 },
                                ),
                               },
                              ),
                              KeyValue(
                               BindingKeyValue {
                                from: [
                                 Raw(
                                  PartRaw {
                                   content: "to",
                                   span: Span {
                                    start: Position {
                                     line: 31,
                                     column: 51,
                                    },
                                    end: Position {
                                     line: 31,
                                     column: 53,
                                    },
                                   },
                                  },
                                 ),
                                ],
                                to: Integer(
                                 Integer {
                                  value: "1764",
                                  span: Span {
                                   start: Position {
                                    line: 31,
                                    column: 56,
                                   },
                                   end: Position {
                                    line: 31,
                                    column: 60,
                                   },
                                  },
                                 },
                                ),
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 31,
                               column: 36,
                              },
                              end: Position {
                               line: 31,
                               column: 63,
                              },
                             },
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 31,
                            column: 34,
                           },
                           end: Position {
                            line: 31,
                            column: 65,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "allowedUDPPortRanges",
                           span: Span {
                            start: Position {
                             line: 32,
                             column: 11,
                            },
                            end: Position {
                             line: 32,
                             column: 31,
                            },
                           },
                          },
                         ),
                        ],
                        to: Identifier(
                         Identifier {
                          id: "allowedTCPPortRanges",
                          span: Span {
                           start: Position {
                            line: 32,
                            column: 34,
                           },
                           end: Position {
                            line: 32,
                            column: 54,
                           },
                          },
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 30,
                       column: 31,
                      },
                      end: Position {
                       line: 33,
                       column: 10,
                      },
                     },
                    },
                   ),
                  },
                 ),
                ],
                span: Span {
                 start: Position {
                  line: 28,
                  column: 23,
                 },
                 end: Position {
                  line: 34,
                  column: 8,
                 },
                },
               },
              ),
             ],
            },
           ),
           span: Span {
            start: Position {
             line: 25,
             column: 5,
            },
            end: Position {
             line: 34,
             column: 8,
            },
           },
          },
         ),
        },
       ),
      ],
      span: Span {
       start: Position {
        line: 3,
        column: 1,
       },
       end: Position {
        line: 35,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 2,
      column: 1,
     },
     end: Position {
      line: 35,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 35,
    column: 2,
   },
  },
 },
)