From 9ddc3662e1ea747e857eb8794c68b522ad10d395 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 21 Feb 2024 10:26:34 +0100 Subject: [PATCH] added ntp service activation --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index 0109313..156fddb 100644 --- a/config.org +++ b/config.org @@ -30,6 +30,7 @@ - [[#build-tools][Build Tools]] - [[#system-locale][System Locale]] - [[#keyboard-layout][Keyboard Layout]] + - [[#ntp][NTP]] - [[#desktop-environments-and-window-manager][Desktop Environments and Window Manager]] - [[#lightdm][LightDM]] - [[#xfce][Xfce]] @@ -560,6 +561,15 @@ if ! localectl status | grep -q "X11 Layout.*de"; then sudo localectl set-x11-keymap --no-convert de fi #+end_src +** NTP +#+begin_src shell :tangle update.sh +systemd_service="systemd-timesyncd" +if ! systemctl is-enabled --quiet "$systemd_service"; then + echo "Enabling $systemd_service" + sudo systemctl enable "$systemd_service" +fi +#+end_src + * Desktop Environments and Window Manager ** [[https://wiki.archlinux.org/title/LightDM][LightDM]] install the required packages