From d486a2977f8d0c15dd33fe6d665dd3e4b5689d0b Mon Sep 17 00:00:00 2001 From: zenja Date: Thu, 16 Mar 2023 00:04:56 +0100 Subject: [PATCH] anpassungen --- archx.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/archx.sh b/archx.sh index 34360bc..8197733 100644 --- a/archx.sh +++ b/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 $@ \ No newline at end of file