Denix is a Nix library designed to help you build scalable configurations for NixOS and Home Manager.
You can find the documentation here: Denix Documentation
Custom modules allow you to define options and related configurations in a flexible way, simplifying the management of your entire system.
- Hosts: Unique configurations tailored for each machine.
- Rices: Customizations that can be applied to all hosts.
Write your NixOS and Home Manager configurations in a single file*, and Denix will automatically handle the separation for you.
minimal (recommended)
Hosts, rices, and initial modules for quick setup:
nix flake init -t github:yunfachi/denix#minimal
Hosts and initial modules without rices:
nix flake init -t github:yunfachi/denix#minimal-no-rices