Skip to content

Latest commit

 

History

History
110 lines (86 loc) · 1.71 KB

README.md

File metadata and controls

110 lines (86 loc) · 1.71 KB

Steps to set up new linux machine:

network

# vim /etc/systemd/networkd/20-wired.network
...
# systemctl enable --now systemd-networkd
# systemctl enable --now systemd-resolved

sudo

# pacman -S sudo
# EDITOR=nvim
# visudo

dotfiles

# pacman -S git openssh zsh python
# chsh -l /bin/zsh
# useradd -m -G wheel -s /bin/zsh h

log in as user

$ ssh-keygen

add ssh key to github

$ mkdir Git
$ cd Git
$ git clone [email protected]:jakkdl/dotfiles.git
$ cd dotfiles
$ git submodule init

add dotfiles

$ python apply_symlinks.py
$ ./fix_links.sh
$ sudo systemctl enable --now suspend_low_bat.timer

install stuff

$ sudo pacman -S sway swaylock swayidle polkit waybar wofi xdg-desktop-portal-wlr python-i3ipc
$ sudo pacman -S python-pipx
$ pipx install togglCli
$ sudo pacman -S firefox

wireless

$ sudo pacman -S iwd
$ sudo systemctl enable --now iwd

fonts for waybar

pipewire

fix zplug

yay

$ cd ~/Git
$ sudo pacman -S --needed base-devel
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -si

or

$ cd ~/Git
$ sudo pacman -S --needed base-devel devtools
$ mkdir ~/Chroot
$ mkarchroot ~/Chroot/root base-devel
$ arch-nspawn ~/Chroot/root pacman -Syu
$ makechrootpkg -c -r ~/Chroot
$ pacman -U yay-[version].pkg.tar.zst

install AUR stuff

$ yay -S oh-my-zsh-git

moar stuff

install wl-clipboard xdg-utils: for content type inference in wl-copy (?)

expect - for unbuffer, for man alias

xdg-utils

noto-fonts-emoji (emoji picker, etc) ttf-fonts-awesome (waybar)

dark-mode switching sudo pacman -S xdg-desktop-portal-gtk

create screenshot dir. Should maybe be somewhere

mkdir ~/Media/pictures/screenshot