Install networkmanager only if necessary

This commit is contained in:
Manuel Thalmann 2024-12-08 01:47:04 +01:00
parent 49879123a4
commit f42f1ac777

View file

@ -36,7 +36,6 @@ begin
base \
linux \
linux-firmware \
networkmanager \
man-db \
man-pages \
texinfo
@ -65,6 +64,7 @@ begin
and genfstab -U "$mountDir" >>"$mountDir/etc/fstab"
and if isProgramEnabled "networkmanager"
and pacstrap -K "$mountDir" networkmanager
arch-chroot "$mountDir" systemctl enable NetworkManager
end