From fbc3d2ccb7f87e9bda063d8ce2f8a6f70f540056 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Wed, 9 Jun 2021 10:17:48 +0300 Subject: [PATCH] Restart timesyncd --- modules/workspace/misc.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/workspace/misc.nix b/modules/workspace/misc.nix index 034fbf0..b11d0d6 100644 --- a/modules/workspace/misc.nix +++ b/modules/workspace/misc.nix @@ -1,6 +1,12 @@ { pkgs, lib, config, inputs, ... }: { systemd.coredump.enable = true; + systemd.services.systemd-timesyncd.wantedBy = [ "multi-user.target" ]; + + systemd.timers.systemd-timesyncd = { + timerConfig.OnCalendar = "hourly"; + }; + environment.sessionVariables = config.home-manager.users.balsoft.home.sessionVariables // rec { NIX_AUTO_RUN = "1";