Add dotfiles

This commit is contained in:
0x221E
2026-02-10 19:49:41 +01:00
parent b88b4ef04f
commit 5e0c43874d

View File

@@ -64,6 +64,12 @@ echo -n "root:$ROOT_PASS" | chpasswd
useradd -m -G wheel,docker,libvirt,video,audio "$USERNAME" useradd -m -G wheel,docker,libvirt,video,audio "$USERNAME"
echo "$USERNAME:$PASS" | chpasswd echo "$USERNAME:$PASS" | chpasswd
printf "Configure dotfiles"
git clone https://universe.0xinfinity.dev/0x221E/dotfiles.git "/home/$USERNAME/dotfiles"
mkdir -p "/home/$USERNAME/.config"
cp -rs "/home/$USERNAME/dotfiles/*" "/home/$USERNAME/.config/"
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
bootctl install bootctl install