Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: With(
   With {
    expression: Identifier(
     Identifier {
      id: "lib",
      span: Span {
       start: Position {
        line: 5,
        column: 6,
       },
       end: Position {
        line: 5,
        column: 9,
       },
      },
     },
    ),
    target: Map(
     Map {
      recursive: false,
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "meta",
            span: Span {
             start: Position {
              line: 9,
              column: 3,
             },
             end: Position {
              line: 9,
              column: 7,
             },
            },
           },
          ),
         ],
         to: Map(
          Map {
           recursive: false,
           bindings: [
            KeyValue(
             BindingKeyValue {
              from: [
               Raw(
                PartRaw {
                 content: "maintainers",
                 span: Span {
                  start: Position {
                   line: 10,
                   column: 5,
                  },
                  end: Position {
                   line: 10,
                   column: 16,
                  },
                 },
                },
               ),
              ],
              to: PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "teams",
                  span: Span {
                   start: Position {
                    line: 10,
                    column: 19,
                   },
                   end: Position {
                    line: 10,
                    column: 24,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "freedesktop",
                   span: Span {
                    start: Position {
                     line: 10,
                     column: 25,
                    },
                    end: Position {
                     line: 10,
                     column: 36,
                    },
                   },
                  },
                 ),
                 Raw(
                  PartRaw {
                   content: "members",
                   span: Span {
                    start: Position {
                     line: 10,
                     column: 37,
                    },
                    end: Position {
                     line: 10,
                     column: 44,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
             },
            ),
           ],
           span: Span {
            start: Position {
             line: 9,
             column: 10,
            },
            end: Position {
             line: 11,
             column: 4,
            },
           },
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "options",
            span: Span {
             start: Position {
              line: 15,
              column: 3,
             },
             end: Position {
              line: 15,
              column: 10,
             },
            },
           },
          ),
         ],
         to: Map(
          Map {
           recursive: false,
           bindings: [
            KeyValue(
             BindingKeyValue {
              from: [
               Raw(
                PartRaw {
                 content: "services",
                 span: Span {
                  start: Position {
                   line: 17,
                   column: 5,
                  },
                  end: Position {
                   line: 17,
                   column: 13,
                  },
                 },
                },
               ),
               Raw(
                PartRaw {
                 content: "accounts-daemon",
                 span: Span {
                  start: Position {
                   line: 17,
                   column: 14,
                  },
                  end: Position {
                   line: 17,
                   column: 29,
                  },
                 },
                },
               ),
              ],
              to: Map(
               Map {
                recursive: false,
                bindings: [
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "enable",
                      span: Span {
                       start: Position {
                        line: 19,
                        column: 7,
                       },
                       end: Position {
                        line: 19,
                        column: 13,
                       },
                      },
                     },
                    ),
                   ],
                   to: FunctionApplication(
                    FunctionApplication {
                     function: Identifier(
                      Identifier {
                       id: "mkOption",
                       span: Span {
                        start: Position {
                         line: 19,
                         column: 16,
                        },
                        end: Position {
                         line: 19,
                         column: 24,
                        },
                       },
                      },
                     ),
                     arguments: [
                      Map(
                       Map {
                        recursive: false,
                        bindings: [
                         KeyValue(
                          BindingKeyValue {
                           from: [
                            Raw(
                             PartRaw {
                              content: "type",
                              span: Span {
                               start: Position {
                                line: 20,
                                column: 9,
                               },
                               end: Position {
                                line: 20,
                                column: 13,
                               },
                              },
                             },
                            ),
                           ],
                           to: PropertyAccess(
                            PropertyAccess {
                             expression: Identifier(
                              Identifier {
                               id: "types",
                               span: Span {
                                start: Position {
                                 line: 20,
                                 column: 16,
                                },
                                end: Position {
                                 line: 20,
                                 column: 21,
                                },
                               },
                              },
                             ),
                             attribute_path: [
                              Raw(
                               PartRaw {
                                content: "bool",
                                span: Span {
                                 start: Position {
                                  line: 20,
                                  column: 22,
                                 },
                                 end: Position {
                                  line: 20,
                                  column: 26,
                                 },
                                },
                               },
                              ),
                             ],
                             default: None,
                            },
                           ),
                          },
                         ),
                         KeyValue(
                          BindingKeyValue {
                           from: [
                            Raw(
                             PartRaw {
                              content: "default",
                              span: Span {
                               start: Position {
                                line: 21,
                                column: 9,
                               },
                               end: Position {
                                line: 21,
                                column: 16,
                               },
                              },
                             },
                            ),
                           ],
                           to: Identifier(
                            Identifier {
                             id: "false",
                             span: Span {
                              start: Position {
                               line: 21,
                               column: 19,
                              },
                              end: Position {
                               line: 21,
                               column: 24,
                              },
                             },
                            },
                           ),
                          },
                         ),
                         KeyValue(
                          BindingKeyValue {
                           from: [
                            Raw(
                             PartRaw {
                              content: "description",
                              span: Span {
                               start: Position {
                                line: 22,
                                column: 9,
                               },
                               end: Position {
                                line: 22,
                                column: 20,
                               },
                              },
                             },
                            ),
                           ],
                           to: FunctionApplication(
                            FunctionApplication {
                             function: PropertyAccess(
                              PropertyAccess {
                               expression: Identifier(
                                Identifier {
                                 id: "lib",
                                 span: Span {
                                  start: Position {
                                   line: 22,
                                   column: 23,
                                  },
                                  end: Position {
                                   line: 22,
                                   column: 26,
                                  },
                                 },
                                },
                               ),
                               attribute_path: [
                                Raw(
                                 PartRaw {
                                  content: "mdDoc",
                                  span: Span {
                                   start: Position {
                                    line: 22,
                                    column: 27,
                                   },
                                   end: Position {
                                    line: 22,
                                    column: 32,
                                   },
                                  },
                                 },
                                ),
                               ],
                               default: None,
                              },
                             ),
                             arguments: [
                              IndentedString(
                               IndentedString {
                                parts: [
                                 Raw(
                                  PartRaw {
                                   content: "Whether to enable AccountsService, a DBus service for accessing\nthe list of user accounts and information attached to those accounts.\n",
                                   span: Span {
                                    start: Position {
                                     line: 23,
                                     column: 1,
                                    },
                                    end: Position {
                                     line: 25,
                                     column: 9,
                                    },
                                   },
                                  },
                                 ),
                                ],
                                span: Span {
                                 start: Position {
                                  line: 22,
                                  column: 33,
                                 },
                                 end: Position {
                                  line: 25,
                                  column: 11,
                                 },
                                },
                               },
                              ),
                             ],
                            },
                           ),
                          },
                         ),
                        ],
                        span: Span {
                         start: Position {
                          line: 19,
                          column: 25,
                         },
                         end: Position {
                          line: 26,
                          column: 8,
                         },
                        },
                       },
                      ),
                     ],
                    },
                   ),
                  },
                 ),
                ],
                span: Span {
                 start: Position {
                  line: 17,
                  column: 32,
                 },
                 end: Position {
                  line: 28,
                  column: 6,
                 },
                },
               },
              ),
             },
            ),
           ],
           span: Span {
            start: Position {
             line: 15,
             column: 13,
            },
            end: Position {
             line: 30,
             column: 4,
            },
           },
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "config",
            span: Span {
             start: Position {
              line: 35,
              column: 3,
             },
             end: Position {
              line: 35,
              column: 9,
             },
            },
           },
          ),
         ],
         to: FunctionApplication(
          FunctionApplication {
           function: Identifier(
            Identifier {
             id: "mkIf",
             span: Span {
              start: Position {
               line: 35,
               column: 12,
              },
              end: Position {
               line: 35,
               column: 16,
              },
             },
            },
           ),
           arguments: [
            PropertyAccess(
             PropertyAccess {
              expression: Identifier(
               Identifier {
                id: "config",
                span: Span {
                 start: Position {
                  line: 35,
                  column: 17,
                 },
                 end: Position {
                  line: 35,
                  column: 23,
                 },
                },
               },
              ),
              attribute_path: [
               Raw(
                PartRaw {
                 content: "services",
                 span: Span {
                  start: Position {
                   line: 35,
                   column: 24,
                  },
                  end: Position {
                   line: 35,
                   column: 32,
                  },
                 },
                },
               ),
               Raw(
                PartRaw {
                 content: "accounts-daemon",
                 span: Span {
                  start: Position {
                   line: 35,
                   column: 33,
                  },
                  end: Position {
                   line: 35,
                   column: 48,
                  },
                 },
                },
               ),
               Raw(
                PartRaw {
                 content: "enable",
                 span: Span {
                  start: Position {
                   line: 35,
                   column: 49,
                  },
                  end: Position {
                   line: 35,
                   column: 55,
                  },
                 },
                },
               ),
              ],
              default: None,
             },
            ),
            Map(
             Map {
              recursive: false,
              bindings: [
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "environment",
                    span: Span {
                     start: Position {
                      line: 37,
                      column: 5,
                     },
                     end: Position {
                      line: 37,
                      column: 16,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "systemPackages",
                    span: Span {
                     start: Position {
                      line: 37,
                      column: 17,
                     },
                     end: Position {
                      line: 37,
                      column: 31,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    PropertyAccess(
                     PropertyAccess {
                      expression: Identifier(
                       Identifier {
                        id: "pkgs",
                        span: Span {
                         start: Position {
                          line: 37,
                          column: 36,
                         },
                         end: Position {
                          line: 37,
                          column: 40,
                         },
                        },
                       },
                      ),
                      attribute_path: [
                       Raw(
                        PartRaw {
                         content: "accountsservice",
                         span: Span {
                          start: Position {
                           line: 37,
                           column: 41,
                          },
                          end: Position {
                           line: 37,
                           column: 56,
                          },
                         },
                        },
                       ),
                      ],
                      default: None,
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 37,
                     column: 34,
                    },
                    end: Position {
                     line: 37,
                     column: 58,
                    },
                   },
                  },
                 ),
                },
               ),
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "environment",
                    span: Span {
                     start: Position {
                      line: 40,
                      column: 5,
                     },
                     end: Position {
                      line: 40,
                      column: 16,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "pathsToLink",
                    span: Span {
                     start: Position {
                      line: 40,
                      column: 17,
                     },
                     end: Position {
                      line: 40,
                      column: 28,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    String(
                     String_ {
                      parts: [
                       Raw(
                        PartRaw {
                         content: "/share/accountsservice",
                         span: Span {
                          start: Position {
                           line: 40,
                           column: 34,
                          },
                          end: Position {
                           line: 40,
                           column: 56,
                          },
                         },
                        },
                       ),
                      ],
                      span: Span {
                       start: Position {
                        line: 40,
                        column: 33,
                       },
                       end: Position {
                        line: 40,
                        column: 57,
                       },
                      },
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 40,
                     column: 31,
                    },
                    end: Position {
                     line: 40,
                     column: 59,
                    },
                   },
                  },
                 ),
                },
               ),
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "services",
                    span: Span {
                     start: Position {
                      line: 42,
                      column: 5,
                     },
                     end: Position {
                      line: 42,
                      column: 13,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "dbus",
                    span: Span {
                     start: Position {
                      line: 42,
                      column: 14,
                     },
                     end: Position {
                      line: 42,
                      column: 18,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "packages",
                    span: Span {
                     start: Position {
                      line: 42,
                      column: 19,
                     },
                     end: Position {
                      line: 42,
                      column: 27,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    PropertyAccess(
                     PropertyAccess {
                      expression: Identifier(
                       Identifier {
                        id: "pkgs",
                        span: Span {
                         start: Position {
                          line: 42,
                          column: 32,
                         },
                         end: Position {
                          line: 42,
                          column: 36,
                         },
                        },
                       },
                      ),
                      attribute_path: [
                       Raw(
                        PartRaw {
                         content: "accountsservice",
                         span: Span {
                          start: Position {
                           line: 42,
                           column: 37,
                          },
                          end: Position {
                           line: 42,
                           column: 52,
                          },
                         },
                        },
                       ),
                      ],
                      default: None,
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 42,
                     column: 30,
                    },
                    end: Position {
                     line: 42,
                     column: 54,
                    },
                   },
                  },
                 ),
                },
               ),
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "systemd",
                    span: Span {
                     start: Position {
                      line: 44,
                      column: 5,
                     },
                     end: Position {
                      line: 44,
                      column: 12,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "packages",
                    span: Span {
                     start: Position {
                      line: 44,
                      column: 13,
                     },
                     end: Position {
                      line: 44,
                      column: 21,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    PropertyAccess(
                     PropertyAccess {
                      expression: Identifier(
                       Identifier {
                        id: "pkgs",
                        span: Span {
                         start: Position {
                          line: 44,
                          column: 26,
                         },
                         end: Position {
                          line: 44,
                          column: 30,
                         },
                        },
                       },
                      ),
                      attribute_path: [
                       Raw(
                        PartRaw {
                         content: "accountsservice",
                         span: Span {
                          start: Position {
                           line: 44,
                           column: 31,
                          },
                          end: Position {
                           line: 44,
                           column: 46,
                          },
                         },
                        },
                       ),
                      ],
                      default: None,
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 44,
                     column: 24,
                    },
                    end: Position {
                     line: 44,
                     column: 48,
                    },
                   },
                  },
                 ),
                },
               ),
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "systemd",
                    span: Span {
                     start: Position {
                      line: 46,
                      column: 5,
                     },
                     end: Position {
                      line: 46,
                      column: 12,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "services",
                    span: Span {
                     start: Position {
                      line: 46,
                      column: 13,
                     },
                     end: Position {
                      line: 46,
                      column: 21,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "accounts-daemon",
                    span: Span {
                     start: Position {
                      line: 46,
                      column: 22,
                     },
                     end: Position {
                      line: 46,
                      column: 37,
                     },
                    },
                   },
                  ),
                 ],
                 to: FunctionApplication(
                  FunctionApplication {
                   function: Identifier(
                    Identifier {
                     id: "recursiveUpdate",
                     span: Span {
                      start: Position {
                       line: 46,
                       column: 40,
                      },
                      end: Position {
                       line: 46,
                       column: 55,
                      },
                     },
                    },
                   ),
                   arguments: [
                    Map(
                     Map {
                      recursive: false,
                      bindings: [
                       KeyValue(
                        BindingKeyValue {
                         from: [
                          Raw(
                           PartRaw {
                            content: "wantedBy",
                            span: Span {
                             start: Position {
                              line: 48,
                              column: 7,
                             },
                             end: Position {
                              line: 48,
                              column: 15,
                             },
                            },
                           },
                          ),
                         ],
                         to: List(
                          List {
                           elements: [
                            String(
                             String_ {
                              parts: [
                               Raw(
                                PartRaw {
                                 content: "graphical.target",
                                 span: Span {
                                  start: Position {
                                   line: 48,
                                   column: 21,
                                  },
                                  end: Position {
                                   line: 48,
                                   column: 37,
                                  },
                                 },
                                },
                               ),
                              ],
                              span: Span {
                               start: Position {
                                line: 48,
                                column: 20,
                               },
                               end: Position {
                                line: 48,
                                column: 38,
                               },
                              },
                             },
                            ),
                           ],
                           span: Span {
                            start: Position {
                             line: 48,
                             column: 18,
                            },
                            end: Position {
                             line: 48,
                             column: 40,
                            },
                           },
                          },
                         ),
                        },
                       ),
                       KeyValue(
                        BindingKeyValue {
                         from: [
                          Raw(
                           PartRaw {
                            content: "environment",
                            span: Span {
                             start: Position {
                              line: 51,
                              column: 7,
                             },
                             end: Position {
                              line: 51,
                              column: 18,
                             },
                            },
                           },
                          ),
                          Raw(
                           PartRaw {
                            content: "XDG_DATA_DIRS",
                            span: Span {
                             start: Position {
                              line: 51,
                              column: 19,
                             },
                             end: Position {
                              line: 51,
                              column: 32,
                             },
                            },
                           },
                          ),
                         ],
                         to: String(
                          String_ {
                           parts: [
                            Interpolation(
                             PartInterpolation {
                              expression: PropertyAccess(
                               PropertyAccess {
                                expression: Identifier(
                                 Identifier {
                                  id: "config",
                                  span: Span {
                                   start: Position {
                                    line: 51,
                                    column: 38,
                                   },
                                   end: Position {
                                    line: 51,
                                    column: 44,
                                   },
                                  },
                                 },
                                ),
                                attribute_path: [
                                 Raw(
                                  PartRaw {
                                   content: "system",
                                   span: Span {
                                    start: Position {
                                     line: 51,
                                     column: 45,
                                    },
                                    end: Position {
                                     line: 51,
                                     column: 51,
                                    },
                                   },
                                  },
                                 ),
                                 Raw(
                                  PartRaw {
                                   content: "path",
                                   span: Span {
                                    start: Position {
                                     line: 51,
                                     column: 52,
                                    },
                                    end: Position {
                                     line: 51,
                                     column: 56,
                                    },
                                   },
                                  },
                                 ),
                                ],
                                default: None,
                               },
                              ),
                             },
                            ),
                            Raw(
                             PartRaw {
                              content: "/share",
                              span: Span {
                               start: Position {
                                line: 51,
                                column: 36,
                               },
                               end: Position {
                                line: 51,
                                column: 63,
                               },
                              },
                             },
                            ),
                           ],
                           span: Span {
                            start: Position {
                             line: 51,
                             column: 35,
                            },
                            end: Position {
                             line: 51,
                             column: 64,
                            },
                           },
                          },
                         ),
                        },
                       ),
                      ],
                      span: Span {
                       start: Position {
                        line: 46,
                        column: 56,
                       },
                       end: Position {
                        line: 53,
                        column: 6,
                       },
                      },
                     },
                    ),
                    FunctionApplication(
                     FunctionApplication {
                      function: Identifier(
                       Identifier {
                        id: "optionalAttrs",
                        span: Span {
                         start: Position {
                          line: 53,
                          column: 8,
                         },
                         end: Position {
                          line: 53,
                          column: 21,
                         },
                        },
                       },
                      ),
                      arguments: [
                       UnaryOperation(
                        UnaryOperation {
                         operator: Not,
                         operand: PropertyAccess(
                          PropertyAccess {
                           expression: Identifier(
                            Identifier {
                             id: "config",
                             span: Span {
                              start: Position {
                               line: 53,
                               column: 24,
                              },
                              end: Position {
                               line: 53,
                               column: 30,
                              },
                             },
                            },
                           ),
                           attribute_path: [
                            Raw(
                             PartRaw {
                              content: "users",
                              span: Span {
                               start: Position {
                                line: 53,
                                column: 31,
                               },
                               end: Position {
                                line: 53,
                                column: 36,
                               },
                              },
                             },
                            ),
                            Raw(
                             PartRaw {
                              content: "mutableUsers",
                              span: Span {
                               start: Position {
                                line: 53,
                                column: 37,
                               },
                               end: Position {
                                line: 53,
                                column: 49,
                               },
                              },
                             },
                            ),
                           ],
                           default: None,
                          },
                         ),
                         span: Span {
                          start: Position {
                           line: 53,
                           column: 23,
                          },
                          end: Position {
                           line: 53,
                           column: 49,
                          },
                         },
                        },
                       ),
                       Map(
                        Map {
                         recursive: false,
                         bindings: [
                          KeyValue(
                           BindingKeyValue {
                            from: [
                             Raw(
                              PartRaw {
                               content: "environment",
                               span: Span {
                                start: Position {
                                 line: 54,
                                 column: 7,
                                },
                                end: Position {
                                 line: 54,
                                 column: 18,
                                },
                               },
                              },
                             ),
                             Raw(
                              PartRaw {
                               content: "NIXOS_USERS_PURE",
                               span: Span {
                                start: Position {
                                 line: 54,
                                 column: 19,
                                },
                                end: Position {
                                 line: 54,
                                 column: 35,
                                },
                               },
                              },
                             ),
                            ],
                            to: String(
                             String_ {
                              parts: [
                               Raw(
                                PartRaw {
                                 content: "true",
                                 span: Span {
                                  start: Position {
                                   line: 54,
                                   column: 39,
                                  },
                                  end: Position {
                                   line: 54,
                                   column: 43,
                                  },
                                 },
                                },
                               ),
                              ],
                              span: Span {
                               start: Position {
                                line: 54,
                                column: 38,
                               },
                               end: Position {
                                line: 54,
                                column: 44,
                               },
                              },
                             },
                            ),
                           },
                          ),
                         ],
                         span: Span {
                          start: Position {
                           line: 53,
                           column: 51,
                          },
                          end: Position {
                           line: 55,
                           column: 6,
                          },
                         },
                        },
                       ),
                      ],
                     },
                    ),
                   ],
                  },
                 ),
                },
               ),
              ],
              span: Span {
               start: Position {
                line: 35,
                column: 56,
               },
               end: Position {
                line: 56,
                column: 4,
               },
              },
             },
            ),
           ],
          },
         ),
        },
       ),
      ],
      span: Span {
       start: Position {
        line: 7,
        column: 1,
       },
       end: Position {
        line: 58,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 5,
      column: 1,
     },
     end: Position {
      line: 58,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 3,
    column: 1,
   },
   end: Position {
    line: 58,
    column: 2,
   },
  },
 },
)