🏡 Configuration files and other dotfiles for my everyday laptop.
9d24fa37 — Hugo Osvaldo Barrera 9 hours ago
keepassxc: Tidy up Firefox integration
b5f02ac1 — Hugo Osvaldo Barrera 9 hours ago
firefox: Use wrapper to access KeePassXC
10aa7c3b — Hugo Osvaldo Barrera 3 days ago
nvim: Replace galaxyline with lualine


browse  log 



You can also use your local clone with git send-email.


"A man and his tools make a man and his trade". -Vita Sackville-West

This repository contains all configuration files for my desktop setup. The entire system configuration is defined in a declarative way, so recreating it and rolling back and forth can be done with confidence.

There's a few sets of files here:

dotfiles: These are user-specific configuration for applications. This includes compositor setup, neovim configuration, terminal theme, and settings for a lot of other applications. Symlinks are placed in the home directory pointing to the files inside this repository, so it's easy to track any changes using just git.

ansible: Some ansible playbooks to configure dconf-based applications and install flatpaks I use. Due to how ansible handles sudo, it can't be used for anything system wide. There's also bootstrapping issues in trying to use it to configure pristine systems, so the scope of what ansible handles will likely continue being rather narrow.

sysconfig: This is system-wide configuration. This includes installed packages, networking overrides, sudo configuration, SecureBoot and several other system-wide settings. This is all installed as a system package, which installs all the custom files, and pulls all wanted packages as dependencies.

Storing all this in a git repository allows me to be bolder when experimenting with new features or configurations -- if I find anything breaks, it's very simple to got roll back to the previous state.

Other uses of this repository include:

  • Keep configurations in sync across devices.
  • Keep a versioned history of my configurations.
  • Quickly bootstrap new configure new machines (physical or virtual).


I use my own rust-based tool (see src/) to keep this repository in sync with my actual dotfiles using symlinks.

It gets the job done, and builds to a static binary, which makes bootstrapping simpler. It's likely it'll eventually move over into its own repo and just get installed as another system packager.


The system configuration is installed by an ArchLinux package. See sysconfig/README.md for more details on that.

#Tools I use

  • sway: desktop compositor
  • waybar: system status bar
  • neovim: code editor (using LSP, tree-sitter, and quite a few plugins)
  • zsh: shell and main working environment (it's designed for interactive use)
  • alacritty: very fast OpenGL terminal emulator in Rust
  • gammastep: screen colour temperature based on sunrise and sundown
  • darkman: automatic dark mode based on sundown and sunrise

I try to upstream any fixes, tweaks and improvements whenever possible, and limit this repository to customisations and very opinionated settings only.


I try to keep things relatively well documented. Some settings or overrides require attention only once every couple of years (e.g.: Firefox style overrides), and keeping comments around lets me figure out what existing code does, and where I got it from.

Git blame should generally be rather useful too.

#Bootstrapping a new system

  • Remember to run rustup default stable.
  • Add repo keys for quarry:
sudo pacman-key --recv-keys 0x8E1992167465DB5FB045557CB02854ED753E0F1F
sudo pacman-key --lsign-key 0x8E1992167465DB5FB045557CB02854ED753E0F1F


Copyright 2012-2021, Hugo Osvaldo Barrera hugo@barrera.io

This repository is licensed under the ISC licence. See LICENCE for details.