This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# graphics | |
pacman -S xorg-server xorg-server-utils xorg-xinit xf86-input-evdev xf86-input-synaptics i3 rofi chromium termite nvidia nvidia-libgl steam ttf-liberation noto-fonts noto-fonts-cjk noto-fonts-emoji conky pulseaudio pulseaudio-alsa lib32-libpulse lib32-alsa-plugins feh mpv youtube-dl scrot screenfetch gvim-python3 rtorrent | |
cower -d cower tor-browser-en broadcom-wl | |
# create .xinitrc for i3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostnamectl set-hostname myhostname | |
timedatectl set-timezone Europe/Moscow | |
timedatectl set-ntp true | |
hwclock --systohc | |
gpg --list-keys | |
vi ~/.gnupg/gpg.conf | |
# keyserver hkp://keyserver.ubuntu.com | |
# keyserver-options auto-key-retrieve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# securely erase the disk | |
cryptsetup open --type plain /dev/sda container | |
dd if=/dev/zero of=/dev/mapper/container | |
# create partitions | |
sgdisk -Z /dev/sda | |
sgdisk -n 1:0:+200M -t 1:EF00 -n 2:0:0 -t 2:8300 -p /dev/sda | |
# encrypt /dev/sda2 | |
cryptsetup luksFormat /dev/sda2 |