My collection of dotfiles.
These dotfiles are currently arranged around two configuration systems:
nix
-based: how I lately started configuring throwaway containers and VMs.Makefile
-based: how have I historically configured my systems, mostly on macOS.
Over time, I will slowly migrate away from Makefile
s, deleting what is not
relevant anymore.
The nix
folder includes a few NixOS/nix-darwin
modules, some general Nix
packages, and shared Nix configurations (e.g., for home-manager
).
It doesn't include host-specific configuration, leaving that to a Nix Flakes that pulls [./nix/flake.nix] as an input.
Most NixOS modules assume the username to be aldur
.
nix flake init --template github:aldur/dotfiles#vm-nogui
A slightly customized LazyVim setup.
nix run "github:aldur/dotfiles?dir=nix#lazyvim"
My (previous) nvim
setup. Technically is its own Flake.
nix run "github:aldur/dotfiles?dir=nix#nvim"
Simply run make
from the top-level directory.
make
Different systems have different requirements that make
will try to handle
for you.
Some files in this repository have been encrypted.
To decrypt them, run git-crypt unlock <symmetric_key>
before running make
.
On macOS, first install homebrew
. Then:
git clone https://github.com/aldur/dotfiles .dotfiles
brew install git make gpg coreutils git-crypt
PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
git-crypt unlock <symmetric_key>
gmake requirements #optional