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 Makefiles, 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?dir=nix#vm-noguiA slightly customized LazyVim setup.
nix run "github:aldur/dotfiles?dir=nix#lazyvim"Or its light version:
nix run "github:aldur/dotfiles?dir=nix#lazyvim-light"Will launch a qemu-vm with the configuration from this repository.
See here for more information.
nix run "github:aldur/dotfiles?dir=nix#qemu-vm"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.
makeDifferent 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