anpassungen

This commit is contained in:
zenja 2023-03-16 00:04:56 +01:00
parent f5b3e9184b
commit d486a2977f
Signed by: zotan's git
GPG key ID: C40BFEA2B3BA06A8

View file

@ -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
@ -468,12 +468,16 @@ postinstall_cli(){
systemctl enable dhcpcd
fi
systemctl enable vnstat
chsh -s /bin/zsh $user
chsh -s /bin/zsh root
wget share.zotan.services/prezto.sh -O /tmp/prezto.sh
sudo -u $user zsh /tmp/prezto.sh
zsh /tmp/prezto.sh
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