---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "tzdir",
        position: (7, 3),
       },
      ],
     },
     String {
      parts: [
       Expression {
        expression: PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (7, 14),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "tzdata",
            position: (7, 19),
           },
          ],
         },
         default: None,
        },
       },
       Raw {
        content: "/share/zoneinfo",
        position: (7, 26),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "nospace",
        position: (8, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "str",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: BinaryOperation {
       operator: EqualTo,
       operands: [
        FunctionApplication {
         function: Variable {
          identifier: "filter",
          position: (8, 19),
         },
         arguments: [
          Function {
           argument: Some(
            "c",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: BinaryOperation {
            operator: EqualTo,
            operands: [
             Variable {
              identifier: "c",
              position: (8, 30),
             },
             String {
              parts: [
               Raw {
                content: " ",
                position: (8, 36),
               },
              ],
             },
            ],
            position: (8, 32),
           },
           position: (8, 27),
          },
          FunctionApplication {
           function: Variable {
            identifier: "stringToCharacters",
            position: (8, 41),
           },
           arguments: [
            Variable {
             identifier: "str",
             position: (8, 60),
            },
           ],
          },
         ],
        },
        List {
         elements: [],
         position: (8, 68),
        },
       ],
       position: (8, 65),
      },
      position: (8, 14),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "timezone",
        position: (9, 3),
       },
      ],
     },
     BinaryOperation {
      operator: Update,
      operands: [
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "types",
          position: (9, 14),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "nullOr",
            position: (9, 20),
           },
          ],
         },
         default: None,
        },
        arguments: [
         FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "types",
            position: (9, 28),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "addCheck",
              position: (9, 34),
             },
            ],
           },
           default: None,
          },
          arguments: [
           PropertyAccess {
            expression: Variable {
             identifier: "types",
             position: (9, 43),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "str",
               position: (9, 49),
              },
             ],
            },
            default: None,
           },
           Variable {
            identifier: "nospace",
            position: (9, 53),
           },
          ],
         },
        ],
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "description",
             position: (10, 10),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "null or string without spaces",
             position: (10, 25),
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (10, 8),
       },
      ],
      position: (10, 5),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "lcfg",
        position: (12, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (12, 10),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "location",
         position: (12, 17),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (17, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "time",
            position: (19, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "timeZone",
               position: (21, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (21, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (22, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (22, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (23, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "timezone",
                  position: (23, 16),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (24, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "America/New_York",
                    position: (24, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (25, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (21, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "hardwareClockInLocalTime",
               position: (35, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (35, 34),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (36, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (36, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (37, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (37, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (37, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (38, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "If set, keep the hardware clock in local time instead of UTC.",
                    position: (38, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (35, 43),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (19, 12),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "location",
            position: (43, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "latitude",
               position: (45, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (45, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (46, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (46, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "float",
                     position: (46, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (47, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (45, 27),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "longitude",
               position: (54, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (54, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (55, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (55, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "float",
                     position: (55, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (56, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (54, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "provider",
               position: (63, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (63, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (64, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (64, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "enum",
                      position: (64, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "manual",
                        position: (64, 30),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "geoclue2",
                        position: (64, 39),
                       },
                      ],
                     },
                    ],
                    position: (64, 27),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (65, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "manual",
                    position: (65, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (66, 9),
                   },
                  ],
                 },
                 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),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (63, 27),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (43, 16),
         },
        ),
       ],
       recursive: false,
       position: (17, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (75, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "environment",
            position: (77, 5),
           },
           Raw {
            content: "sessionVariables",
            position: (77, 17),
           },
           Raw {
            content: "TZDIR",
            position: (77, 34),
           },
          ],
         },
         String {
          parts: [
           Raw {
            content: "/etc/zoneinfo",
            position: (77, 43),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (79, 5),
           },
           Raw {
            content: "geoclue2",
            position: (79, 14),
           },
           Raw {
            content: "enable",
            position: (79, 23),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkIf",
           position: (79, 32),
          },
          arguments: [
           BinaryOperation {
            operator: EqualTo,
            operands: [
             PropertyAccess {
              expression: Variable {
               identifier: "lcfg",
               position: (79, 38),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "provider",
                 position: (79, 43),
                },
               ],
              },
              default: None,
             },
             String {
              parts: [
               Raw {
                content: "geoclue2",
                position: (79, 56),
               },
              ],
             },
            ],
            position: (79, 52),
           },
           Variable {
            identifier: "true",
            position: (79, 67),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "systemd",
            position: (82, 5),
           },
           Raw {
            content: "globalEnvironment",
            position: (82, 13),
           },
           Raw {
            content: "TZDIR",
            position: (82, 31),
           },
          ],
         },
         Variable {
          identifier: "tzdir",
          position: (82, 39),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           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),
           },
          ],
         },
         FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (84, 54),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "optionalAttrs",
              position: (84, 58),
             },
            ],
           },
           default: None,
          },
          arguments: [
           BinaryOperation {
            operator: NotEqualTo,
            operands: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (84, 73),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "time",
                 position: (84, 80),
                },
                Raw {
                 content: "timeZone",
                 position: (84, 85),
                },
               ],
              },
              default: None,
             },
             Variable {
              identifier: "null",
              position: (84, 97),
             },
            ],
            position: (84, 94),
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "NIXOS_STATIC_TIMEZONE",
                 position: (84, 105),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "1",
                 position: (84, 130),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (84, 103),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "environment",
            position: (86, 5),
           },
           Raw {
            content: "etc",
            position: (86, 17),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "zoneinfo",
                 position: (87, 7),
                },
                Raw {
                 content: "source",
                 position: (87, 16),
                },
               ],
              },
              Variable {
               identifier: "tzdir",
               position: (87, 25),
              },
             ),
            ],
            recursive: false,
            position: (86, 23),
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (88, 10),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "optionalAttrs",
                position: (88, 14),
               },
              ],
             },
             default: None,
            },
            arguments: [
             BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (88, 29),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "time",
                   position: (88, 36),
                  },
                  Raw {
                   content: "timeZone",
                   position: (88, 41),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "null",
                position: (88, 53),
               },
              ],
              position: (88, 50),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "localtime",
                   position: (89, 9),
                  },
                  Raw {
                   content: "source",
                   position: (89, 19),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "/etc/zoneinfo/",
                   position: (89, 29),
                  },
                  Expression {
                   expression: PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (89, 45),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "time",
                       position: (89, 52),
                      },
                      Raw {
                       content: "timeZone",
                       position: (89, 57),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "localtime",
                   position: (90, 9),
                  },
                  Raw {
                   content: "mode",
                   position: (90, 19),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "direct-symlink",
                   position: (90, 27),
                  },
                 ],
                },
               ),
              ],
              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),
}