yunfachi/denix

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

Nix

221

182 commits

updated Aug 13, 2026

See the code

README

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

Hosts, rices, and initial modules for quick setup:

nix flake init -t github:yunfachi/denix#minimal

minimal-no-rices

Hosts and initial modules without rices:

nix flake init -t github:yunfachi/denix#minimal-no-rices

extensions-collection

Flake for creating your own collection of Denix extensions:

nix flake init -t github:yunfachi/denix#extensions-collection
denix
dotfiles
flake
home-manager
homemanager
home-manager-config
home-manager-dotfiles
macos
nix
nix-config
nix-configuration
nix-darwin
nix-dotfiles
nix-expressions
nix-flakes
nixos
nixos-config
nixos-dotfiles
nixos-flake
nixpkgs

Contributors

yunfachi

161 commits

mzonski

7 commits

shimeoki

7 commits

Languages

Nix

99.9%

yunfachi/denix

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

Nix

221

182 commits

updated Aug 13, 2026

See the code

README

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

Hosts, rices, and initial modules for quick setup:

nix flake init -t github:yunfachi/denix#minimal

minimal-no-rices

Hosts and initial modules without rices:

nix flake init -t github:yunfachi/denix#minimal-no-rices

extensions-collection

Flake for creating your own collection of Denix extensions:

nix flake init -t github:yunfachi/denix#extensions-collection
denix
dotfiles
flake
home-manager
homemanager
home-manager-config
home-manager-dotfiles
macos
nix
nix-config
nix-configuration
nix-darwin
nix-dotfiles
nix-expressions
nix-flakes
nixos
nixos-config
nixos-dotfiles
nixos-flake
nixpkgs

Contributors

yunfachi

161 commits

mzonski

7 commits

shimeoki

7 commits

Languages

Nix

99.9%