vix - Vic's Nix Environment#
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.
Everyday Usage#
just build
just switch
Users#
Currently only vic which is applied at all hosts.
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 |
Devshell#
Load shell.nix using direnv .envrc or manually nix-shell.
# .envrc
use nix
Other 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
- olf m1 flake with mk-darwin-system
- other with snowfall-lib lost