diff options
-rwxr-xr-x | build.sh | 10 | ||||
-rwxr-xr-x | config.sh | 6 | ||||
-rwxr-xr-x | install.sh | 3 |
3 files changed, 10 insertions, 9 deletions
@@ -7,19 +7,17 @@ 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 +export USE=czar +grep "^$USE" /etc/passwd || useradd -m $USE +usermod $USE -aG wheel -s /bin/zsh timedatectl set-ntp true -if [ ! -e /home/$USER/.ssh/id_rsa ]; then sudo -u $USER ssh-keygen; fi +if [ ! -e /home/$USE/.ssh/id_rsa ]; then sudo -u $USE ssh-keygen; fi sh regional.sh # Region specific setup hwclock --systohc sh mod.sh ip link -echo -n "wpa_supplicant@" -read INTER systemctl enable wpa_supplicant@$INTER sh source.sh @@ -8,7 +8,7 @@ for file in $(find src -type f); do done for file in $(find home -type f); do - export clean=/home/$USER/$(echo $file | cut -c 4-) - install -o $USER -d $(dirname $clean) - install -o $USER $file $clean + export clean=/home/$USE/$(echo $file | cut -c 4-) + install -o $USE -d $(dirname $clean) + install -o $USE $file $clean done @@ -44,6 +44,9 @@ cp -r . /mnt touch installed fi #echo "arch-chroot into the new system and run dotfiles/build.sh" +ip link +echo -n "wpa_supplicant@" +read INTER arch-chroot /mnt << EOF cd dotfiles sh build.sh |