-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
39 lines (29 loc) · 863 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/env bash
DIR="$(pwd)"
############
## NEEDED ##
############
export TIMEZONE=$(curl https://ipapi.co/timezone)
export NAME="name"
export HOST_NAME="hostname"
export PASSWD="passwd"
export ROOT_PASSWD=$PASSWD
export KB_LAYOUT=""
export LOC="en_US.UTF-8"
export DUALBOOT_OPT=false # true to have dualboot option, else false
export WIFI_OPT=false # true if wifi is needed
export BT_OPT=false # true if bluetooth is needed
export NTFS_OPT=false # true if nfts filesystem support is needed
##############
## OPTIONAL ##
##############
# AUR helper available: "paru"
export AUR_OPT=""
# Login display manager available: "lightdm"
export LDM_OPT=""
# Graphics driver available: "nvidia"
export GD_OPT=""
bash $DIR/scripts/pre_chroot.sh
cp -r $DIR /mnt/DELETE_AFTER
arch-chroot /mnt /bin/bash /DELETE_AFTER/scripts/base_setup.sh
rm -rf /mnt/DELETE_AFTER