Compare commits

...

3 commits
dev ... dev

Author SHA1 Message Date
zenja b8d881c49f
Merge branch 'dev' into dev 2024-01-12 00:09:26 +01:00
zenja bc657284a6
Merge pull request 'dev' (#1) from zotan/os-install-scripts:dev into dev
Reviewed-on: zenja/archx#1
2023-05-17 18:28:58 +02:00
zenja d486a2977f
anpassungen 2023-03-16 00:04:56 +01:00

View file

@ -432,7 +432,7 @@ postinstall_cli(){
curl https://share.zotan.services/repo.sh | bash curl https://share.zotan.services/repo.sh | bash
killall gpg-agent 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 systemctl enable haveged sshd
sed -i 's%#PasswordAuthentication yes%PasswordAuthentication no%g' /etc/ssh/sshd_config sed -i 's%#PasswordAuthentication yes%PasswordAuthentication no%g' /etc/ssh/sshd_config
@ -467,6 +467,8 @@ postinstall_cli(){
if [[ -z $cinetwork ]]; then if [[ -z $cinetwork ]]; then
systemctl enable dhcpcd systemctl enable dhcpcd
fi fi
systemctl enable vnstat
chsh -s /bin/zsh $user chsh -s /bin/zsh $user
chsh -s /bin/zsh root chsh -s /bin/zsh root
@ -474,8 +476,10 @@ postinstall_cli(){
sudo -u $user zsh /tmp/prezto.sh sudo -u $user zsh /tmp/prezto.sh
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 EOS
} }
@ -483,7 +487,7 @@ postinstall_xorg(){
postinstall_cli postinstall_cli
archchroot "/bin/bash" <<"EOS" archchroot "/bin/bash" <<"EOS"
set -eo pipefail 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 EOS
if [[ "$keylayout" == "us" ]]; then if [[ "$keylayout" == "us" ]]; then
return return
@ -665,4 +669,4 @@ archchroot(){
arch-chroot /mnt $1 arch-chroot /mnt $1
} }
main $@ main $@