Here, you can find my entire configuration and setup.
Fully automated, multi-OS development environment setup form scratch.
Table of Contents
The goal with my dotfiles is to just run one command and have a new system up and running with no manual setup.
This repository is split into multiple components:
- dot_bootstrap
Ansible playbooks that install system packages, services and prerequisites on Ubuntu, Fedora & macOS. - dot_config
Chezmoi-managed home-directory configuration—shell, editor, GTK, terminal profiles, etc. - Scripts
Scripts that are run on every machine startup.
With one command you can bootstrap a fresh machine and apply your complete dotfile configuration.
Run the following command to bootstrap a fresh machine:
export GITHUB_USERNAME=lovc21; sudo apt update && sudo apt install -y git curl && sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAMEexport GITHUB_USERNAME=lovc21; sudo dnf install -y git curl; sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAMEexport GITHUB_USERNAME=lovc21; /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; brew install git curl; sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --ssh $GITHUB_USERNAME- main.yml: Detects OS and includes roles
- roles/: Per-role tasks, each with
Ubuntu.yml,Fedora.yml,MacOSX.yml - requirements/common.yml: Galaxy collections (e.g.
community.general)
Run the bootstrap script:
ansible-playbook -i hosts.ini dot_bootstrap/main.yml --connection=local --become --skip-tags=install_appsOr run the run-once scripts:
./run_once_install_ansible.sh- ghostty, lazydocker, lazygit: Application configs
- nvim/: LazyVim template, lockfiles, Lua configuration, plugins and settings
- private_gnome-control-center/: GNOME Terminal profile backup
Manage dotfiles with Chezmoi:
chezmoi diff # Preview changes
chezmoi apply # Apply to $HOME
chezmoi apply --dry-run # Dry runThis repo was inspired by:
Thanks to all of you <3
This project is released under the WTFPL v2.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
- You just DO WHAT THE FUCK YOU WANT TO.