automatic-timezoned: 1.0.148 -> 2.0.0

This commit is contained in:
Maxime Brunet 2024-02-18 15:01:25 -08:00
parent 9c3d856bed
commit 5c1c4c75f7
2 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ in
serviceConfig = { serviceConfig = {
Type = "exec"; Type = "exec";
User = "automatic-timezoned"; User = "automatic-timezoned";
ExecStart = "${cfg.package}/bin/automatic-timezoned --zoneinfo-path=${pkgs.tzdata}/share/zoneinfo/zone1970.tab"; ExecStart = "${cfg.package}/bin/automatic-timezoned";
}; };
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
}; };

View file

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned"; pname = "automatic-timezoned";
version = "1.0.148"; version = "2.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "maxbrunet"; owner = "maxbrunet";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-P4HSRqbFFgVc02HZf8UoTquseqHp2MUtTi5OZxomt6M="; sha256 = "sha256-t7AozR3R+msppRnHTPRy3hd2SuCR9NZdg85+FLqSWEc=";
}; };
cargoHash = "sha256-pn5/87/KfbpSQHsVsSh03miCh2SZjA/LxMWrUvjJySo="; cargoHash = "sha256-d+SDI5keZ044LtS/A3K26moFVQngUfNNfr33PipTTg4=";
meta = with lib; { meta = with lib; {
description = "Automatically update system timezone based on location"; description = "Automatically update system timezone based on location";