This repository contains my personal Linux configuration files, package lists, and setup scripts.
It allows me to backup and restore my entire development environment on any fresh Linux install with minimal effort.
- configs/
zsh/→.zshrc,.p10k.zsh, and Oh My Zsh plugins/themesghostty/→ Ghostty terminal configurationvscode/→ VS Code settings, keybindings, and extensions list
- packages/
apt-packages.txt→ List of apt-installed packagesflatpak-list.txt→ List of Flatpak appssnap-list.txt→ List of Snap apps (if any)
- fonts/ → Custom fonts
- extensions/
gnome-extensions.txt→ Installed GNOME extensionsextensions-settings.conf→ GNOME extension settings
- backup.sh → Collects all current configs into this repo
- install.sh → Installs packages, restores configs, fonts, and GNOME extensions
cd ~/dotfiles
./backup.sh
git add .
git commit -m "update configs"
git push# Install Git
sudo apt install git -y
# Clone this repo
git clone https://github.com/sumedhvats/dotfiles.git ~/dotfiles
cd ~/dotfiles
# Run setup
./install.shThis repo includes my .zshrc and Powerlevel10k theme. For plugins and themes, you can either:
- Store them in this repo (heavier), or
- Auto-clone them during setup (lighter, recommended):
git clone https://github.com/marlonrichert/zsh-autocomplete.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10kBackup & restore extensions:
# Backup
gnome-extensions list > ./extensions/gnome-extensions.txt
dconf dump /org/gnome/shell/extensions/ > ./extensions/extensions-settings.conf
# Restore
xargs -n1 gnome-extensions enable < ./extensions/gnome-extensions.txt
dconf load /org/gnome/shell/extensions/ < ./extensions/extensions-settings.conf- Apt packages
sudo apt-get update
xargs sudo apt-get install -y < ./packages/apt-packages.txt- Flatpak apps
xargs -n1 flatpak install -y < ./packages/flatpak-list.txt- Snap apps
snap install <app>- Run
backup.shregularly to keep configs updated. - Commit & push to GitHub.
- On a new machine, just clone this repo and run
install.sh.
✦ Made with ❤️ by Sumedh Vats