---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "tzdir",
        position: (7, 3),
       },
      ],
     },
     to: String {
      parts: [
       Expression {
        expression: PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (7, 14),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "tzdata",
            position: (7, 19),
           },
          ],
         },
         default: None,
        },
       },
       Raw {
        content: "/share/zoneinfo",
        position: (7, 26),
       },
      ],
      position: (7, 11),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "nospace",
        position: (8, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "str",
      },
      definition: BinaryOperation {
       operator: EqualTo,
       operands: [
        FunctionApplication {
         function: Variable {
          identifier: "filter",
          position: (8, 19),
         },
         arguments: [
          Parentheses {
           expression: Function {
            argument: Simple {
             identifier: "c",
            },
            definition: BinaryOperation {
             operator: EqualTo,
             operands: [
              Variable {
               identifier: "c",
               position: (8, 30),
              },
              String {
               parts: [
                Raw {
                 content: " ",
                 position: (8, 36),
                },
               ],
               position: (8, 35),
              },
             ],
             position: (8, 32),
            },
            position: (8, 27),
           },
           position: (8, 26),
          },
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "stringToCharacters",
             position: (8, 41),
            },
            arguments: [
             Variable {
              identifier: "str",
              position: (8, 60),
             },
            ],
           },
           position: (8, 40),
          },
         ],
        },
        List {
         elements: [],
         position: (8, 68),
        },
       ],
       position: (8, 65),
      },
      position: (8, 14),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "timezone",
        position: (9, 3),
       },
      ],
     },
     to: BinaryOperation {
      operator: Update,
      operands: [
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "types",
          position: (9, 14),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "nullOr",
            position: (9, 20),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Parentheses {
          expression: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "types",
             position: (9, 28),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "addCheck",
               position: (9, 34),
              },
             ],
            },
            default: None,
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "types",
              position: (9, 43),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "str",
                position: (9, 49),
               },
              ],
             },
             default: None,
            },
            Variable {
             identifier: "nospace",
             position: (9, 53),
            },
           ],
          },
          position: (9, 27),
         },
        ],
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "description",
             position: (10, 10),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "null or string without spaces",
             position: (10, 25),
            },
           ],
           position: (10, 24),
          },
         },
        ],
        recursive: false,
        position: (10, 8),
       },
      ],
      position: (10, 5),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "lcfg",
        position: (12, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (12, 10),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "location",
         position: (12, 17),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (17, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "time",
            position: (19, 5),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "timeZone",
               position: (21, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (21, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (22, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "null",
                  position: (22, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (23, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "timezone",
                  position: (23, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "example",
                    position: (24, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "America/New_York",
                    position: (24, 20),
                   },
                  ],
                  position: (24, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (25, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The time zone used when displaying times and dates. See <link\nxlink:href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\"/>\nfor a comprehensive list of possible values for this setting.\n\nIf null, the timezone will default to UTC and can be set imperatively\nusing timedatectl.\n",
                    position: (26, 1),
                   },
                  ],
                  position: (25, 23),
                 },
                },
               ],
               recursive: false,
               position: (21, 27),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "hardwareClockInLocalTime",
               position: (35, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (35, 34),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (36, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (36, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (37, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (37, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (37, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (38, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "If set, keep the hardware clock in local time instead of UTC.",
                    position: (38, 24),
                   },
                  ],
                  position: (38, 23),
                 },
                },
               ],
               recursive: false,
               position: (35, 43),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (19, 12),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "location",
            position: (43, 5),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "latitude",
               position: (45, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (45, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (46, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (46, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "float",
                     position: (46, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (47, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Your current latitude, between\n<literal>-90.0</literal> and <literal>90.0</literal>. Must be provided\nalong with longitude.\n",
                    position: (48, 1),
                   },
                  ],
                  position: (47, 23),
                 },
                },
               ],
               recursive: false,
               position: (45, 27),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "longitude",
               position: (54, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (54, 19),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (55, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (55, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "float",
                     position: (55, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (56, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Your current longitude, between\nbetween <literal>-180.0</literal> and <literal>180.0</literal>. Must be\nprovided along with latitude.\n",
                    position: (57, 1),
                   },
                  ],
                  position: (56, 23),
                 },
                },
               ],
               recursive: false,
               position: (54, 28),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "provider",
               position: (63, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (63, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (64, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (64, 16),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "enum",
                      position: (64, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "manual",
                        position: (64, 30),
                       },
                      ],
                      position: (64, 29),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "geoclue2",
                        position: (64, 39),
                       },
                      ],
                      position: (64, 38),
                     },
                    ],
                    position: (64, 27),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (65, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "manual",
                    position: (65, 20),
                   },
                  ],
                  position: (65, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (66, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "The location provider to use for determining your location. If set to\n<literal>manual</literal> you must also provide latitude/longitude.\n",
                    position: (67, 1),
                   },
                  ],
                  position: (66, 23),
                 },
                },
               ],
               recursive: false,
               position: (63, 27),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (43, 16),
         },
        },
       ],
       recursive: false,
       position: (17, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (75, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "environment",
            position: (77, 5),
           },
           Raw {
            content: "sessionVariables",
            position: (77, 17),
           },
           Raw {
            content: "TZDIR",
            position: (77, 34),
           },
          ],
         },
         to: String {
          parts: [
           Raw {
            content: "/etc/zoneinfo",
            position: (77, 43),
           },
          ],
          position: (77, 42),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (79, 5),
           },
           Raw {
            content: "geoclue2",
            position: (79, 14),
           },
           Raw {
            content: "enable",
            position: (79, 23),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkIf",
           position: (79, 32),
          },
          arguments: [
           Parentheses {
            expression: BinaryOperation {
             operator: EqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "lcfg",
                position: (79, 38),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "provider",
                  position: (79, 43),
                 },
                ],
               },
               default: None,
              },
              String {
               parts: [
                Raw {
                 content: "geoclue2",
                 position: (79, 56),
                },
               ],
               position: (79, 55),
              },
             ],
             position: (79, 52),
            },
            position: (79, 37),
           },
           Variable {
            identifier: "true",
            position: (79, 67),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "systemd",
            position: (82, 5),
           },
           Raw {
            content: "globalEnvironment",
            position: (82, 13),
           },
           Raw {
            content: "TZDIR",
            position: (82, 31),
           },
          ],
         },
         to: Variable {
          identifier: "tzdir",
          position: (82, 39),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "systemd",
            position: (84, 5),
           },
           Raw {
            content: "services",
            position: (84, 13),
           },
           Raw {
            content: "systemd-timedated",
            position: (84, 22),
           },
           Raw {
            content: "environment",
            position: (84, 40),
           },
          ],
         },
         to: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (84, 54),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "optionalAttrs",
              position: (84, 58),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Parentheses {
            expression: BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "config",
                position: (84, 73),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "time",
                  position: (84, 80),
                 },
                 Raw {
                  content: "timeZone",
                  position: (84, 85),
                 },
                ],
               },
               default: None,
              },
              Variable {
               identifier: "null",
               position: (84, 97),
              },
             ],
             position: (84, 94),
            },
            position: (84, 72),
           },
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "NIXOS_STATIC_TIMEZONE",
                 position: (84, 105),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "1",
                 position: (84, 130),
                },
               ],
               position: (84, 129),
              },
             },
            ],
            recursive: false,
            position: (84, 103),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "environment",
            position: (86, 5),
           },
           Raw {
            content: "etc",
            position: (86, 17),
           },
          ],
         },
         to: BinaryOperation {
          operator: Update,
          operands: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "zoneinfo",
                 position: (87, 7),
                },
                Raw {
                 content: "source",
                 position: (87, 16),
                },
               ],
              },
              to: Variable {
               identifier: "tzdir",
               position: (87, 25),
              },
             },
            ],
            recursive: false,
            position: (86, 23),
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (88, 10),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "optionalAttrs",
                position: (88, 14),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: NotEqualTo,
               operands: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (88, 29),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "time",
                    position: (88, 36),
                   },
                   Raw {
                    content: "timeZone",
                    position: (88, 41),
                   },
                  ],
                 },
                 default: None,
                },
                Variable {
                 identifier: "null",
                 position: (88, 53),
                },
               ],
               position: (88, 50),
              },
              position: (88, 28),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "localtime",
                   position: (89, 9),
                  },
                  Raw {
                   content: "source",
                   position: (89, 19),
                  },
                 ],
                },
                to: String {
                 parts: [
                  Raw {
                   content: "/etc/zoneinfo/",
                   position: (89, 29),
                  },
                  Expression {
                   expression: PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (89, 45),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "time",
                       position: (89, 52),
                      },
                      Raw {
                       content: "timeZone",
                       position: (89, 57),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                 ],
                 position: (89, 28),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "localtime",
                   position: (90, 9),
                  },
                  Raw {
                   content: "mode",
                   position: (90, 19),
                  },
                 ],
                },
                to: String {
                 parts: [
                  Raw {
                   content: "direct-symlink",
                   position: (90, 27),
                  },
                 ],
                 position: (90, 26),
                },
               },
              ],
              recursive: false,
              position: (88, 59),
             },
            ],
           },
          ],
          position: (88, 7),
         },
        },
       ],
       recursive: false,
       position: (75, 12),
      },
     },
    ],
    recursive: false,
    position: (16, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}