diff --git a/chrootInstall.sh b/chrootInstall.sh index 7c405f0..b89febb 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -204,6 +204,7 @@ fi echo -e ""$username" soft memlock 64\n"$username" hard memlock 2097152\n"$username" hard nofile 524288\n# End of file" > /etc/security/limits.conf # increase memlock and add support for esync mkdir -p /home/"$username"/.gnupg echo 'pinentry-program /usr/bin/pinentry-tty' > /home/"$username"/.gnupg/gpg-agent.conf # forces gpg prompts to use terminal input +curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/gai.conf -o /etc/gai.conf # configure gai to prefer IPv6 pacman -S neofetch htop --needed --noconfirm rc-update add local default diff --git a/config-files/gai.conf b/config-files/gai.conf new file mode 100644 index 0000000..eb776d1 --- /dev/null +++ b/config-files/gai.conf @@ -0,0 +1,9 @@ +# Configuration for getaddrinfo(3). +label ::1/128 0 +label ::/0 1 +label 2002::/16 2 +label ::/96 3 +label ::ffff:0:0/96 4 +label fec0::/10 5 +label fc00::/7 6 +label 2001:0::/32 7