Try to fix automatic timezone issues

This commit is contained in:
Noah Masur
2025-08-19 08:50:16 -04:00
parent e975db7385
commit e2e179c0e5
2 changed files with 5 additions and 3 deletions

View File

@@ -33,9 +33,6 @@ rec {
system.stateVersion = "23.05";
# Overrides
services.automatic-timezoned.enable = false;
# Not sure what's necessary but too afraid to remove anything
boot.initrd.availableKernelModules = [
"xhci_pci"

View File

@@ -24,6 +24,11 @@ in
# Enable automatic timezone updates based on location
services.automatic-timezoned.enable = lib.mkDefault true;
services.geoclue2 = {
# see: https://github.com/NixOS/nixpkgs/issues/68489#issuecomment-1484030107
enableDemoAgent = lib.mkForce true;
geoProviderUrl = "https://beacondb.net/v1/geolocate";
};
# Allow reading from Windows drives
boot.supportedFilesystems = [ "ntfs" ];