# Devenv 1.1: Nested Nix outputs using the module system

**URL:** https://discourse.nixos.org/t/devenv-1-1-nested-nix-outputs-using-the-module-system/51975
**Category:** Announcements
**Created:** [September 11, 2024, 10:37am UTC](https://discourse.nixos.org/t/devenv-1-1-nested-nix-outputs-using-the-module-system/51975 "2024-09-11T10:37:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [September 11, 2024, 10:37am UTC](https://discourse.nixos.org/t/devenv-1-1-nested-nix-outputs-using-the-module-system/51975/1 "2024-09-11T10:37:54Z")

</div>

> **[devenv 1.1: Nested Nix outputs using the module system - devenv](https://devenv.sh/blog/2024/09/11/devenv-11-nested-nix-outputs-using-the-module-system/)**
>
> Fast, Declarative, Reproducible, and Composable Developer Environments using Nix

---

<div class="post-metadata">

### Author: ![roberth](https://discourse.nixos.org/user_avatar/discourse.nixos.org/roberth/32/5488_2.png) [@roberth](https://discourse.nixos.org/u/roberth)
#### Post date: [September 11, 2024, 3:46pm UTC](https://discourse.nixos.org/t/devenv-1-1-nested-nix-outputs-using-the-module-system/51975/2 "2024-09-11T15:46:11Z")

</div>

Out of curiosity, how do you find the options that have packages?

In general, `options` does not have to be finite, so I’m curious what this means for devenv module authors.  
Obviously the usage of `options` tends to be finite in size, so it all works out and we never accessing infinitely deep things; for example this one on NixOS: `options.virtualisation.vmVariant.value.virtualisation.vmVariant.virtualisation.vmVariant.virtualisation.vmVariant...`

---

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [September 11, 2024, 3:51pm UTC](https://discourse.nixos.org/t/devenv-1-1-nested-nix-outputs-using-the-module-system/51975/3 "2024-09-11T15:51:38Z")

</div>

I’m traversing the computed `pkgs.nixos(..).options` and assuming it’s finite 🙂
