mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-09-07 17:53:30 -04:00
Use systemd-resolved
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c2af90b0d3
commit
7fd0563729
@ -551,6 +551,10 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
||||
dconf update
|
||||
fi
|
||||
|
||||
# Use systemd-resolved for DNS resolution
|
||||
rm /etc/resolv.conf
|
||||
ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
|
||||
|
||||
# Snapper configuration
|
||||
echo 'Configuring Snapper.'
|
||||
umount /.snapshots
|
||||
@ -578,6 +582,7 @@ systemctl enable reflector.timer --root=/mnt
|
||||
systemctl enable snapper-timeline.timer --root=/mnt
|
||||
systemctl enable snapper-cleanup.timer --root=/mnt
|
||||
systemctl enable systemd-oomd --root=/mnt
|
||||
systemctl enable systemd-resolved --root=/mnt
|
||||
systemctl disable systemd-timesyncd --root=/mnt
|
||||
|
||||
if [ "${network_daemon}" = 'networkmanager' ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user