1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-25 06:36:42 +00:00

setup: pacman noconfirm

This commit is contained in:
Phantop 2024-10-24 18:28:49 -04:00
parent b995cef47e
commit 2cf5f6ee0f

View file

@ -1,21 +1,21 @@
#!/bin/sh
set -e
alias g=git l='ln -s' s=sudo t='s tee -a' w=wget
alias g=git l='ln -s' p='s pacman --noconfirm' s=sudo t='s tee -a' w=wget
s pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
s pacman-key --lsign-key 3056513887B78AEB
s pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
p -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
printf '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' | t /etc/pacman.conf
s pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com
s pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0
s pacman -U 'https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz'
p -U 'https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz'
printf '[dkp-libs]\nServer = https://pkg.devkitpro.org/packages\n' | t /etc/pacman.conf
printf "[dkp-linux]\nServer = https://pkg.devkitpro.org/packages/linux/\$arch/\n" | t /etc/pacman.conf
echo permit :wheel | t /etc/doas.conf
s pacman -Syu
xargs -o sudo pacman -S --needed < ~/.dotfiles/archpkgs
yay -S pandoc-bin shellcheck-bin
p -Syu
xargs sudo pacman --noconfirm -S --needed < ~/.dotfiles/archpkgs
yay -S pandoc-bin shellcheck-bin --noconfirm
chsh -s "$(grep -m1 bin/fish /etc/shells)"
echo kernel.core_pattern=/dev/null | t /etc/sysctl.d/50-coredump.conf