Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Repository used to provision and configure my development machine, this is done executing the following workflow.

  1. Install tools with mise and ansible
  2. Install dotfiles with chezmoi

⚠️ The full install requires at least 40 GB.

Usage

I use Debian, those instructions are not guaranteed to work in other distributions (adapt the code depending on your needs).

# Create a standard user
useradd -m -s /bin/bash baptiste
adduser baptiste sudo
passwd baptiste

# Install mise in '~/.local/bin'
su baptiste
cd ~
curl https://mise.run | sh
eval "$(~/.local/bin/mise activate bash)"
mise use --global bitwarden@latest gh@latest chezmoi@latest

# Get a Github token to prevent Rate Limit problems with 'mise'
sudo apt install git -y
BROWSER=false gh auth login
export MISE_GITHUB_TOKEN=$(gh auth token)

# Retrieve dotfiles
chezmoi init bgaillard

# Copy the provisioning configuration files
mkdir -p ~/.config/mise/conf.d/
cd ~/.local/share/chezmoi
cp p.yml ~/.config
cp dot_config/private_mise/private_config.toml ~/.config/mise/config.toml
cp -R dot_config/private_mise/conf.d/* ~/.config/mise/conf.d/

# Login to Bitwarden
bw login
export BW_SESSION=...

# Start the provisioning
./p

# Apply dotfiles to home directory
chezmoi diff
chezmoi apply

Testing with incus

Launch a Debian Trixie VM and start a bash into it.

incus launch -d root,size=40GiB images:debian/trixie chezmoi-test
incus exec chezmoi-test -- bash

Then simply execute the script mentioned in the usage section.

💡 If you encounter networking issues check the bellow links

About

Carefully designed Linux dotfiles and provisioning configuration.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages