My cross system dotfiles using Stow
by @Steuv1871
Structure inspired by @xero
Used on the following systems:
- Windows 10 (Desktop)
- Debian/Ubuntu (WSL)
- Garuda (Laptop)
- Atlas OS (Laptop)
- Raspberry Pi OS (RPi Zero 2)
- Armbian (Banana Pi Zero)
- Android (termux)
All folders are stow packages
Exept system specific configs which are in there OS name
Clone the repo and sync submodules
git clone --recurse-submodules https://github.com/Steuv1871/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
Stow needed packages
stow <package name>
Generate a personnal access token (PAT) from github developper settings with access to the dotefiles
repo.
cd ~/.dotfiles
git remote set-url origin https://oauth2:<oauth-key-goes-here>@github.com/Steuv1871/dotfiles.git
[!TIP] For machines that can't run a proper Internet Navigator to get the PAT, connect to that machine with SSH. On target machine with Systemd OS:
sudo systemctl enable ssh sudo systemctl start ssh
Specific complementary action needed. Mostly execution permission on scripts.
stow ~/.dotfiles/conky
chmod +x ~/.config/conky/conky-launch.sh
stow ~/.dotfiles/sddm
chmod +x ~/.config/sddm/config-sddm.sh
bash "~/.config/sddm/config-sddm.sh"
.\windows\bootstrap.ps1
Somes infos are not linked from dotfiles and need to be manually sync.
TODO: Create sync script