mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 04:44:53 +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;
|
|
|
|
}
|