diff --git a/scripts/Arch/OS/setup.fish b/scripts/Arch/OS/setup.fish index 44565f06..7054e5de 100755 --- a/scripts/Arch/OS/setup.fish +++ b/scripts/Arch/OS/setup.fish @@ -63,7 +63,10 @@ begin end and genfstab -U "$mountDir" >>"$mountDir/etc/fstab" - and arch-chroot "$mountDir" systemctl enable NetworkManager + + and if isProgramEnabled "networkmanager" + arch-chroot "$mountDir" systemctl enable NetworkManager + end and if set -q timezone arch-chroot "$mountDir" ln -sf "/usr/share/zoneinfo/$timezone" /etc/localtime