
# [Documentation](https://den.oeiuwq.com)
### [From Zero To Den](https://den.oeiuwq.com/guides/from-zero-to-den/)
### [From Flake To Den](https://den.oeiuwq.com/guides/from-flake-to-den/)
### [Core Principles](https://den.oeiuwq.com/explanation/core-principles/)
### [Custom Nix Classes](https://den.oeiuwq.com/guides/custom-classes/)
### [Homes Integration](https://den.oeiuwq.com/guides/home-manager/)
### [Batteries](https://den.oeiuwq.com/guides/batteries/)
### [Reference](https://den.oeiuwq.com/reference/ctx/)
### [Tests as Code Examples](https://den.oeiuwq.com/tutorials/ci/)
### [Motivation](https://den.oeiuwq.com/motivation/)
### [Community](https://den.oeiuwq.com/community/)
|
At its core, Den is a [library](https://den.oeiuwq.com/explanation/library-vs-framework/) built on [flake-aspects](https://github.com/vic/flake-aspects) for activating configuration-aspects via context-transformation pipelines.
On top of the library, Den provides a [framework](https://den.oeiuwq.com/explanation/context-pipeline/) for the NixOS/nix-Darwin/Home-Manager Nix domains.
Den embraces your Nix choices and does not impose itself. All parts of Den are optional and replaceable. Works with your current setup, with/without flakes, flake-parts or any other Nix module system.
### Templates:
[default](https://den.oeiuwq.com/tutorials/default/): +flake-file +flake-parts +home-manager
[minimal](https://den.oeiuwq.com/tutorials/minimal): +flakes -flake-parts -home-manager
[noflake](https://den.oeiuwq.com/tutorials/noflake): -flakes +npins +lib.evalModules +nix-maid
[microvm](https://den.oeiuwq.com/tutorials/microvm): MicroVM runnable-pkg and guests. custom ctx-pipeline.
[example](https://den.oeiuwq.com/tutorials/example): cross-platform
[ci](https://den.oeiuwq.com/tutorials/ci): Each feature tested as code examples
[bogus](https://den.oeiuwq.com/tutorials/bogus): Isolated test for bug reproduction
### Examples:
[`vic/vix`](https://github.com/vic/vix): author spends more time in Den itself (-flakes)
[`quasigod.xyz`](https://tangled.org/quasigod.xyz/nixconfig): beautiful organization (+flake-parts)
[GitHub Search](https://github.com/search?q=den.aspects+language%3ANix&type=code)
**❄️ Try it:**
```console
# Run virtio MicroVM from templates/microvm
nix run github:vic/den?dir=templates/microvm#runnable-microvm
```
```console
# Run qemu VM from templates/example
nix run github:vic/den
```
|