mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +00:00
12 lines
288 B
Nix
12 lines
288 B
Nix
{ ... }: {
|
|
|
|
# Service to determine location for time zone
|
|
services.geoclue2.enable = true;
|
|
services.geoclue2.enableWifi = false; # Breaks when it can't connect
|
|
location = { provider = "geoclue2"; };
|
|
|
|
# Enable local time based on time zone
|
|
services.localtime.enable = true;
|
|
|
|
}
|