mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Swapped hard and soft memlocks
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ touch /home/"$username"/.ssh/authorized_keys
|
||||
chown -R "$username" /home/"$username"/.ssh
|
||||
|
||||
# misc configuration
|
||||
echo -e '* hard memlock 64\n* soft memlock 2097152\n# End of file' > /etc/security/limits.conf # increases hard memlock limit to 2 GiB (useful for some apps, such as rpcs3)
|
||||
echo -e '* hard memlock 2097152\n* soft memlock 64\n# End of file' > /etc/security/limits.conf # increases hard memlock limit to 2 GiB (useful for some apps, such as rpcs3)
|
||||
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
|
||||
pacman -S neofetch htop cpupower --needed --noconfirm
|
||||
|
||||
Reference in New Issue
Block a user