tzupdate: run service at boot
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
9fd0575cf3
commit
37e104fac8
1 changed files with 5 additions and 0 deletions
|
@ -11,5 +11,10 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
# https://github.com/cdown/tzupdate
|
||||
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
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue