A nix-first approach to my computing
dots readme.md

Emi's configurations #

As I am getting deeper in the Nix ecosystem, I created this repo to provide myself with a sustainable foundation for all my computers, and a reference I can use when I leverage Nix at work.

Principles #

This repo leverages a few technologies to achieve its goals:

  • Flakes, in order to have a lockfile, better dependency management and frankly, easier to write nix files
  • Flake-parts, in order to truly modularise the configuration, their docs are also decent, not something I can confidently say of Nix proper at this point
  • Import-tree, a little library that handily enables the dendritic pattern

Layout #

Hostname System Description
Asmodeus aarch64-linux Asahi personal laptop

Installation #

To install this, run the following command:

sudo nixos-rebuild switch --flake .#<hostname>

Formatting #

Should work within your editor, but the formatter is also setup in a standard fashion, although it is using alejandra instead of nixfmt.

nix fmt .

Development shell #

A small dev shell is available to allow quick iteration of my neovim configuration. It is easily accessible via:

nix shell