| homes/x86_64-linux/christopher@cobalt | ||
| lib | ||
| modules | ||
| overlays | ||
| packages/scripts | ||
| secrets | ||
| shells/deploy | ||
| systems | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| flake.lock | ||
| flake.nix | ||
| Justfile | ||
| README.md | ||
My NixOS systems
This repository contains all my NixOS (and nix-darwin) system and home manager configurations. It's not meant to be deployable by anyone other than me, but just as a reference for others.
General principles
Every wheels user will have a command available called elements with which they
are able to interface with this main Nix flake. Internally this command is an alias
for the just command runner which automatically links to the flake's Justfile.
Additionally, every dev shell can also expand on the available elements recipes
depending on the context. In order to enter one of the configured devshells, one
can use either the command elements shell <name> (if elements is already
available) or run nix develop .#name in the flake root directory.
Todo
Since this is pretty much always a work-in-progress I do not expect it to be in the most presentable state at all times. Whenever I have time I try to streamline some of the config, but especially when trying out new tools the code could be a bit wild.
There's a couple of ideas I have for this:
- Build a deployment dev shell
- Deploy base tooling to all hosts. This mainly includes
nushellandhelixconfigs. They should still be configurable per-host. Potential issue here could be hosts where I don't use home manager - Make everything more composable. Can make use of the
elementsconfig some more, like how it's done forquirks