aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..62f5101
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+if [ ! -e work/pacman ]; then
+ touch work/pacman
+ yes | pacman -Syu --needed $(cat packages | xargs echo)
+fi
+cat services | xargs systemctl enable
+
+ip link
+export USER=czar
+grep "$USER" /etc/passwd || useradd -m $USER
+usermod $USER -aG wheel -s /bin/zsh
+timedatectl set-ntp true
+echo | sudo -u czar ssh-keygen
+
+sh regional.sh # Region specific setup
+hwclock --systohc
+
+passwd
+
+sh mod.sh
+ip link
+echo -n "wpa_supplicant@"
+read INTER
+systemctl enable wpa_supplicant@$INTER
+
+sh source.sh
+sh config.sh
+
+grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
+grub-mkconfig -o /boot/grub/grub.cfg
+mkinitcpio -P