Skip to content

Instantly share code, notes, and snippets.

@codemodify
Last active December 28, 2018 08:59
Show Gist options
  • Save codemodify/6b114b3bd50c9829cdedf997bd73dd17 to your computer and use it in GitHub Desktop.
Save codemodify/6b114b3bd50c9829cdedf997bd73dd17 to your computer and use it in GitHub Desktop.
Arch Linux - ThinkPad T580
# System
echo en_US.UTF-8 >> /etc/locale.gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
echo KEYMAP=us > /etc/vconsole.conf
rm /etc/localtime
ln -s /usr/share/zoneinfo/US/Pacific /etc/localtime
hwclock --systohc --utc
echo arch-box /etc/hostname
echo arch-box > /etc/hostname
nano /etc/pacman.conf
useradd -mg users -G wheel -s /bin/bash richard
passwd richard
bootctl --path=/boot install
pacman -S gnome gnome-extra
mkinitcpio -p linux
cp /usr/share/systemd/bootctl/loader.conf /boot/loader/loader.conf
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/
blkid /dev/nvme0n1p3 >> /boot/loader/entries/arch.conf
vi /boot/loader/entries/arch.conf
systemctl enable NetworkManager
systemctl enable gdm
pacman -S xterm
vi /etc/sudoers
# yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay --noeditmenu --nodiffmenu --nocleanmenu --answeredit None --answerclean All --answerdiff None --save
echo Color >> /etc/pacman.conf
yay -S htop
yay -S google-chrome
yay -S visual-studio-code-bin
yay -S ttf-mononoki
yay -S tilix
yay -S zoom
yay -S slack-desktop
yay -S gnome-shell-extension-refresh-wifi
yay -S gnome-shell-extension-dash-to-dock
yay -S gnome-shell-extension-topicons-plus-git
yay -S arc-gtk-theme
yay -S arc-icon-theme
sudo pacman -S bumblebee bbswitch nvidia mesa acpi_call lib32-virtualgl lib32-nvidia-utils
optirun glxgears -info
optirun glxspheres64
optirun glxspheres32
yay nvidia-settings
optirun -b none nvidia-settings -c :8
optirun --status
sudo pacman -S tlp tlp-rdw
systemctl enable tlp.service
systemctl enable tlp-sleep.service
systemctl mask systemd-rfkill.service
systemctl mask systemd-rfkill.socket
systemctl enable NetworkManager-dispatcher.service
yay x86_energy_perf_policy
sudo pacman -S linux-tools
yay ethtool
yay smartmontools
yay -S bluez
yay -S bluez-utils
systemctl enable bluetooth.service
systemctl start bluetooth.service
xdg-mime default org.gnome.Nautilus.desktop inode/directory
https://support.google.com/titansecuritykey/answer/9148044
https://blog.stevegriffith.nyc/posts/titan-key-arch/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment