diff --git a/hosts/x86_64-linux/swan/default.nix b/hosts/x86_64-linux/swan/default.nix index 73b6672..e01d833 100644 --- a/hosts/x86_64-linux/swan/default.nix +++ b/hosts/x86_64-linux/swan/default.nix @@ -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" diff --git a/platforms/nixos/modules/nmasur/profiles/home.nix b/platforms/nixos/modules/nmasur/profiles/home.nix index 5ccc645..934c01c 100644 --- a/platforms/nixos/modules/nmasur/profiles/home.nix +++ b/platforms/nixos/modules/nmasur/profiles/home.nix @@ -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" ];