Skip to content
/ denix Public

Extensible Nix library for creating scalable NixOS, Home Manager, and Nix-Darwin configurations with modules, hosts, and rices

License

Notifications You must be signed in to change notification settings

yunfachi/denix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Denix

Denix is a Nix library designed to help you build scalable configurations for NixOS, Home Manager, and Nix-Darwin.

Documentation

You can find the documentation here: Denix Documentation

Key Features

Modular System

Custom modules allow you to define options and related configurations in a flexible way, simplifying the management of your entire system.

Hosts and Rices

  • Hosts: Unique configurations tailored for each machine.
  • Rices: Customizations that can be applied to all hosts.

Extensions

Write your own extensions for the Denix or use existing ones that add new functions and modules.

Unified NixOS, Home Manager, and Nix-Darwin Configurations

Write your NixOS, Home Manager, and Nix-Darwin configurations in a single file*, and Denix will automatically handle the separation for you.

Templates

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

Flake for creating your own collection of Denix extensions:

nix flake init -t github:yunfachi/denix#extensions-collection