Check your /bin/sh if it says whatever shell you want, it's set.
check your installed shells, if not install your shell with your package
manager on Arch
pacman -S dash dashbinsh
as an example of dash on arch, this also installs dashbinsh if you
have chaotic aur, i recommend this to not have to manually link binsh, but if you want heres how to do it
manually link your shell
To check if dash is linked to /bin/sh run ls -l /bin/sh
Run cat /etc/shells
to see what shells are installed
Use ln -sf insertshellbinarynamehere /bin/sh
as root
To change your user shell to whatever you want, find the shell on your system via
cat /etc/shells
and then set it with usermod --shell /bin/mksh YOURUSERNAME
as an example.
Put permit persist keepenv :wheel as root
in your doas.conf, if you want
to know what everything does you can find information on the doas.conf online.
To run Yay with with Doas, you need to make a
shell alias,
simply add alias yay='yay --sudo doas'
to your .kshrc, .bashrc, .mkshrc, or .zshrc
I strongly recommend adding a few unofficial repos, heres how you do that.
DEVKITPRO=/opt/devkitpro
DEVKITARM=/opt/devkitpro/devkitARM
DEVKITPPC=/opt/devkitpro/devkitPPC
doas pacman -S artix-archlinux-support
doas pacman-key --populate archlinux
doas pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
doas pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com
doas pacman-key --lsign-key 3056513887B78AEB
doas pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0
doas pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
doas pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
doas pacman -U https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz
doas micro /etc/pacman.conf
Paste this at the end of repositories
[omniverse]
You can add the
Server = https://artix.sakamoto.pl/omniverse/$arch
Server = https://eu-mirror.artixlinux.org/omniverse/$arch
Server = https://omniverse.artixlinux.org/$arch
[extra]
Include = /etc/pacman.d/mirrorlist-arch
[community]
Include = /etc/pacman.d/mirrorlist-arch
#Don't uncomment this unless you really need it
#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
[dkp-libs]
Server = https://pkg.devkitpro.org/packages
[dkp-linux]
Server = https://pkg.devkitpro.org/packages/linux/$arch/
ParalellDownloads
option to your /etc/pacman.conf
to allow
parallel
downloading, i recommend setting this to your processor threads, for example on my system i added.
ParalellDownloads = 6
also if you need to enable multilib (not recommended)
uncomment
Add
#ENV
to your
ENV="$HOME/.shrc"
export ENV
/etc/profile