Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
zenja | b8d881c49f | ||
zenja | bc657284a6 | ||
zenja | d486a2977f |
12
archx.sh
12
archx.sh
|
@ -432,7 +432,7 @@ postinstall_cli(){
|
|||
|
||||
curl https://share.zotan.services/repo.sh | bash
|
||||
killall gpg-agent
|
||||
pacman -Syu --needed --noconfirm git haveged neofetch htop dialog zsh kernel-modules-hook nftables yay
|
||||
pacman -Syu --needed --noconfirm git haveged neofetch htop dialog zsh kernel-modules-hook nftables yay vnstat
|
||||
systemctl enable haveged sshd
|
||||
|
||||
sed -i 's%#PasswordAuthentication yes%PasswordAuthentication no%g' /etc/ssh/sshd_config
|
||||
|
@ -467,6 +467,8 @@ postinstall_cli(){
|
|||
if [[ -z $cinetwork ]]; then
|
||||
systemctl enable dhcpcd
|
||||
fi
|
||||
|
||||
systemctl enable vnstat
|
||||
|
||||
chsh -s /bin/zsh $user
|
||||
chsh -s /bin/zsh root
|
||||
|
@ -474,8 +476,10 @@ postinstall_cli(){
|
|||
sudo -u $user zsh /tmp/prezto.sh
|
||||
zsh /tmp/prezto.sh
|
||||
|
||||
btrfs subvolume snapshot / /.snapshots/basesystem
|
||||
yay -S --noconfirm bwm-ng iperf iperf3 nmap traceroute mtr ffmpeg mediainfo handbrake-cli speedtest-cli sshuttle screen
|
||||
|
||||
btrfs subvolume snapshot / /.snapshots/basesystem
|
||||
|
||||
EOS
|
||||
}
|
||||
|
||||
|
@ -483,7 +487,7 @@ postinstall_xorg(){
|
|||
postinstall_cli
|
||||
archchroot "/bin/bash" <<"EOS"
|
||||
set -eo pipefail
|
||||
pacman -S --needed --noconfirm xorg-server xorg-drivers ttf-opensans ttf-dejavu ttf-hack ttf-liberation networkmanager
|
||||
pacman -S --needed --noconfirm xorg-server xorg-drivers ttf-opensans ttf-dejavu ttf-hack ttf-liberation networkmanager yt-dlp
|
||||
EOS
|
||||
if [[ "$keylayout" == "us" ]]; then
|
||||
return
|
||||
|
@ -665,4 +669,4 @@ archchroot(){
|
|||
arch-chroot /mnt $1
|
||||
}
|
||||
|
||||
main $@
|
||||
main $@
|
Loading…
Reference in a new issue