update auto timezone
This commit is contained in:
parent
fe7a1ac82d
commit
9848701145
1 changed files with 13 additions and 0 deletions
|
|
@ -1,4 +1,17 @@
|
||||||
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
|
services.dbus.enable = lib.mkDefault true;
|
||||||
|
|
||||||
time.timeZone = null;
|
time.timeZone = null;
|
||||||
services.automatic-timezoned.enable = true;
|
services.automatic-timezoned.enable = true;
|
||||||
|
|
||||||
|
systemd.services.automatic-timezoned = {
|
||||||
|
after = [ "dbus.socket" "systemd-timedated.service" ];
|
||||||
|
wants = [ "dbus.socket" "systemd-timedated.service" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.automatic-timezoned-geoclue-agent = {
|
||||||
|
after = [ "dbus.socket" ];
|
||||||
|
wants = [ "dbus.socket" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue