summary refs log tree commit diff
path: root/nixos/modules/system/boot/timesyncd.nix
diff options
context:
space:
mode:
authorDaniel Frank <github-523@danielfrank.net>2018-05-25 00:44:04 +0200
committerJoachim F <joachifm@users.noreply.github.com>2018-05-24 22:44:04 +0000
commitc42cb40291f6d9a004b073741cd730a363f600e9 (patch)
tree417cbe1577c701d3679dd27d865e7c950888d2ec /nixos/modules/system/boot/timesyncd.nix
parentc04d3ae0b2e074bffe952270bd6b6f99348d461b (diff)
downloadnixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar.gz
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar.bz2
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar.lz
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar.xz
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.tar.zst
nixlib-c42cb40291f6d9a004b073741cd730a363f600e9.zip
nixos/systemd-timesyncd: use the correct server list (#40919)
Diffstat (limited to 'nixos/modules/system/boot/timesyncd.nix')
-rw-r--r--nixos/modules/system/boot/timesyncd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix
index f643723ab141..57853c5698d0 100644
--- a/nixos/modules/system/boot/timesyncd.nix
+++ b/nixos/modules/system/boot/timesyncd.nix
@@ -34,7 +34,7 @@ with lib;
 
     environment.etc."systemd/timesyncd.conf".text = ''
       [Time]
-      NTP=${concatStringsSep " " config.services.ntp.servers}
+      NTP=${concatStringsSep " " config.services.timesyncd.servers}
     '';
 
     users.extraUsers.systemd-timesync.uid = config.ids.uids.systemd-timesync;