My infra multi-host using my Dendritic libs.
Inputs are extracted from modules option flake-file.inputs and pinned via npins, then loaded using with-inputs.
Hosts are defined at modules/hosts.nix with their respective den.aspects at modules/hosts/.
My den configuration has two namespaces, vix (public) for stuff that is generic enough for others to re-use. And vic (private) for everything that has to do with my user.
just build
just switchCurrently only vic which is applied at all hosts.
| Host | Platform | Users | Notes |
|---|---|---|---|
| bombadil | NixOS ISO | vic | USB installer, CI build |
| varda | MacOS (M4) | vic | Mac Mini |
| yavanna | MacOS (x86) | vic | MacBook Pro |
| nienna | NixOS | vic | MacBook Pro |
| mordor | NixOS | vic | ASUS ROG Tower |
| annatar | WSL2 | vic | ASUS ROG Tower |
| nargun | NixOS | vic | Lenovo Laptop |
| smaug | NixOS | vic | HP Laptop |
| bill | Ubuntu (ARM) | runner/vic | GH Action Runner |
| bert | MacOS (ARM) | runner/vic | GH Action Runner |
| tom | Ubuntu | runner/vic | GH Action Runner |
Load shell.nix using direnv .envrc or manually nix-shell.
# .envrc
use nixOther useful commands defined at Justfile
Historical points of this repo:
- Den without flakes current
- Den with flakes + flake-parts
- Dendritic flake-parts only
- blueprint
- flake-parts
- other couple made with snowfall-lib and custom-made-libs lost