Through my progression and learning of the Nix ecosystem, I discovered Home Manager.
As such I've declared my old .files as old-school-thinking. But you can still find them all here.
-
Clone this repo to
~/.config/dotfiles
git clone [email protected]:rameezk/dotfiles.git ~/.config/dotfiles
-
cd to
~/.config/dotfiles
and execute the followingnix-shell
This will give you the bare minimum packages to execute the
dot
binary in the next step. -
Specify machine in file
.machine
. You can find machines in the./machines/
directory.echo "<machine>" > .machine
-
Execute the environment rebuild
./bin/dot rebuild
Upgrade the flake and rebuild environment:
nix flake update
dot rebuild
For other docs see docs directory.
This repo is setup for git hooks using the the pre-commit framework.
Currently, hooks exist to format:
- *.nix files using NixFmt
- ./bin/dot file using Python black
To install the hooks, run:
pre-commit install
If you're interested in perusing my Emacs config you can do so here.