summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh17
1 files changed, 4 insertions, 13 deletions
diff --git a/install.sh b/install.sh
index 41f4c57..216f137 100755
--- a/install.sh
+++ b/install.sh
@@ -38,13 +38,13 @@ arch-chroot /mnt /bin/bash <<EOF
ln -sf /usr/share/zoneinfo/Area/Location /etc/localtime
hwclock --systohc
-echo "$HOSTNAME" >> /etc/hostname
+echo "x221e" >> /etc/hostname
echo "KEYMAP=trq" >> /etc/vconsole.conf
-pacman -S --noconfirm base-devel sudo
+pacman -S --noconfirm base-devel doas
pacman -S --noconfirm networkmanager alsa-utils bluez bluez-utils nvidia-open nvidia-utils pavucontrol pipewire pipewire-alsa pipewire-pulse polkit-gnome usbutils sof-firmware
-pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly waybar hyprland hyprlock hyprpaper zip unzip ttf-jetbrains-mono
-pacman -S --noconfirm intel-ucode ufw clamav opensnitch firejail nemo nemo-terminal swaync
+pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly zip unzip ttf-jetbrains-mono sway
+pacman -S --noconfirm intel-ucode ufw opensnitch firejail nemo nemo-terminal swaync
pacman -S --noconfirm cmake cloc vim emacs cups docker docker-compose efibootmgr gdb ghidra ghostscript git git-lfs man-db man-pages mkcert nasm net-tools openssh qemu-base qemu-full dnsmasq dmidecode rustup valgrind virt-manager virt-viewer wireplumber wireguard-tools wireshark-qt wmenu wofi xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-desktop-portal-hyprland xorg-xwayland pyright clang iproute2
@@ -54,13 +54,9 @@ pacman -S --noconfirm sbctl
pacman -S --noconfirm nvtop htop
pacman -S --noconfirm nss-mdns
-systemctl enable clamav-freshclam.service
-systemctl enable clamav-daemon.service
-systemctl enable clamav-clamonacc.service
systemctl enable opensnitchd
systemctl enable NetworkManager
systemctl enable ufw
-systemctl enable clamav-daemon
systemctl disable getty@tty0.service
systemctl disable getty@tty1.service
systemctl enable ly@tty1.service
@@ -72,10 +68,6 @@ ufw enable
sed -i 's/HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)/HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block sd-encrypt filesystems fsck)/' /etc/mkinitcpio.conf
mkinitcpio -P
-printf "Configure ClamAV OnAccess"
-printf "OnAccessIncludePath /home/$USERNAME/\nOnAccessIncludePath /home/$USERNAME/\nOnAccessPrevention yes\nTemporaryDirectory /clamav/tmp" | tee -a /etc/clamav/clamd.conf
-sed -i '/^ExecStart=/ s/$/ --fdpass/' /etc/systemd/system/clamav-onacc.service
-
printf "Configuring users..."
echo -n "root:$ROOT_PASS" | chpasswd
@@ -85,7 +77,6 @@ sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
su - "$USERNAME" -c "git clone https://universe.0xinfinity.dev/0x221E/dotfiles.git /home/$USERNAME/dotfiles"
su - "$USERNAME" -c "mkdir -p /home/$USERNAME/.config"
-su - "$USERNAME" -c "cp -sr /home/$USERNAME/dotfiles/* /home/$USERNAME/.config/"
printf "Configuring yay..."
su - "$USERNAME" -c "git clone https://aur.archlinux.org/yay.git"