diff --git a/modules/common/default.nix b/modules/common/default.nix index 1a6ec0b..28a2590 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -17,6 +17,7 @@ ./nix.nix ./ssh.nix ./tailscale.nix + ./timesyncd.nix ./users.nix ]; diff --git a/modules/common/timesyncd.nix b/modules/common/timesyncd.nix new file mode 100644 index 0000000..1e8d85e --- /dev/null +++ b/modules/common/timesyncd.nix @@ -0,0 +1,10 @@ +{ config +, ... +}: +{ + services.timesyncd = { + enable = true; + servers = config.networking.timeServers; + fallbackServers = null; + }; +} \ No newline at end of file