Skip to content

Latest commit

 

History

History
executable file
·
150 lines (124 loc) · 4.3 KB

Install.org

File metadata and controls

executable file
·
150 lines (124 loc) · 4.3 KB

Installation Guide

Bootstrap

sudo pacman -S opendoas emacs-wayland reflector
echo "permit nopass keepenv rehandaphedar as root" | sudo tee /etc/doas.conf

Tangle all files. Comment Chaotic AUR from /etc/pacman.conf.

Tangle

emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "~/Files/dot/Install.org")'
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "~/Files/dot/Emacs.org")'
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "~/Files/dot/Desktop.org")'

AUR

cd /tmp
doas pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Chaotic AUR

doas pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
doas pacman-key --lsign-key 3056513887B78AEB
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'

Tangle all files again.

Packages

paru -Syu
paru -S --needed - < ~/Files/dot/pkglist_native.txt
paru -S --needed - < ~/Files/dot/pkglist_foreign.txt

Shell

chsh

Systemd

doas systemctl enable reflector
doas systemctl enable sddm
doas systemctl enable tlp
doas systemctl enable bluetooth
doas systemctl enable docker.socket
doas systemctl enable tor

systemctl enable --user mako
systemctl enable --user waybar
systemctl enable --user syncthing
systemctl enable --user ydotool

systemctl enable --user foot-server.socket
systemctl enable --user hyprshade.timer

Ydotool

doas usermod -aG input $USER

Hyprpm

hyprpm update -v
hyprpm add https://github.com/hyprwm/hyprland-plugins
hyprpm enable hyprtrails

hyprshade install
systemctl enable --user hyprshade.timer

Go Programs

go install github.com/pdf/cliphist-wofi-img@latest
go install github.com/mikefarah/yq/v4@latest

go install git.sr.ht/~rehandaphedar/go-pray@latest
go install git.sr.ht/~rehandaphedar/hijri-date@latest

Org Similarity

pipx install findlike --python 3.10 --fetch-missing-python

YT Clipper

pipx install git+https://github.com/exwm/yt_clipper --python 3.8 --fetch-missing-python

GRUB

cd /tmp
git clone https://github.com/catppuccin/grub.git
cd grub
doas cp -r src/* /usr/share/grub/themes/
echo 'GRUB_THEME="/usr/share/grub/themes/catppuccin-macchiato-grub-theme/theme.txt"' | doas tee -a /etc/default/grub
doas grub-mkconfig -o /boot/grub/grub.cfg

SDDM

cd /tmp
wget 'https://github.com/catppuccin/sddm/releases/latest/download/catppuccin-macchiato.zip'
cd /usr/share/sddm/themes
doas unzip /tmp/catppuccin-macchiato.zip
echo "[Theme]
Current=catppuccin-macchiato" | doas tee /etc/sddm.conf

Edit as necessary.

Manual

GTK

Firefox

Copy ~~/.mozilla~ while Firefox is closed.

Chromium

Copy ~~/.config/chromium~ while Chromium is closed.

Syncthing

Anki

Copy ~~/.local/share/Anki2~ while Anki is closed.

LogSeq

DNS