added ntp service activation

This commit is contained in:
paul-loedige
2024-02-21 10:26:34 +01:00
parent d52b5dc152
commit 9ddc3662e1
+10
View File
@@ -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