Personal repository of dotfiles managed with dotter-rs dotfile manager.
Create user account (use wheel in Arch and sudo in Debian)
-u 1000 -g 1000
to set the user and group ids but 1000 should be the default for bothuseradd -m -G wheel ${USERNAME}
chsh -s /bin/zsh ${USERNAME} #if zsh is installed
# if you need to add extra groups later use:
usermod -aG additional_groups username
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/paru.git ~/build/paru
cd ~/build/paru && makepkg -si
git clone https://aur.archlinux.org/dotter-rs.git ~/build/dotter
cd ~/build/dotter && makepkg -si
sudo apt install gcc rustup git libssl-dev pkg-config
rustup default stable
cargo install dotter topgrade cargo-update
sudo apk add gcc git rustup musl-dev
rustup-init
cargo install dotter
git clone https://git.sr.ht/~myrovh/dotfiles ~/.dotfiles
cp ~/.dotfiles/.dotter/local_example.toml ~/.dotfiles/.dotter/local.toml
nvim ~/.dotfiles/.dotter/local.toml
cd ~/.dotfiles && dotter
Use local.toml
to define which packages you want to install and to set any required variables.
All colours are managed with via base16 templates. Import a base16 .toml in local.toml
. To regenerate the templates run:
# base16-builder-go can have errors if you try to run it from another directory and point to the right templates via the templates-dir flag
cd ~/.dotfiles/.dotter/base16
base16-builder-go -online
Need to switch over to ssh url in order to push changes back to sourcehut.
git remote set-url origin git@git.sr.ht:~myrovh/dotfiles
paru -S zoxide broot rsync bat eza man-db
sudo apt install zoxide rsync bat eza build-essential libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev -y
cargo install --locked broot
List of Arch Linux package names for all the programs that are expected to be executed by the sway environment.
paru -S gnome-keyring kanshi wl-clipboard wtype dex wlsunset autotiling-rs cliphist wob dunst grim python python-i3ipc ttc-iosevka inter-font brightnessctl blueman pasystray papirus-icon-theme sway grimshot-bin-sway inter-font
Only needed if flatpak support is desired:
paru -S xdg-desktop-portal-wlr
sudo apt install wob brightnessctl sway dunst python3-i3ipc python3 dex
sudo apk add wl-clipboard wtype dex wlsunset cliphist wob dunst python3 font-iosevka
paru -S emacs-wayland graphviz shellcheck fd pandoc prettier markdownlint proselint sqlite texlive-core texlive-bin texlive-science texlive-latexextra hunspell hunspell-en_au hunspell-en_gb ktlint
sudo apt install emacs-pgtk fd-find graphviz shellcheck pandoc python3-proselint sqlite3 texlive dvipng hunspell hunspell-en-au hunspell-en-gb