1
1
Fork 0

tzupdate: run service at boot

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-30 13:38:16 -06:00
parent 9fd0575cf3
commit 37e104fac8
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -11,5 +11,10 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
# https://github.com/cdown/tzupdate # https://github.com/cdown/tzupdate
services.tzupdate.enable = true; services.tzupdate.enable = true;
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/misc/tzupdate.nix
systemd.services.tzupdate = {
wantedBy = ["network-online.target"]; # Run at boot without checking for Internet access
};
}; };
} }