An open API service indexing awesome lists of open source software.

https://github.com/yunfachi/denix

Nix library for creating scalable NixOS and Home Manager configurations with modules, hosts, and rices
https://github.com/yunfachi/denix

denix dotfiles flake home-manager home-manager-config home-manager-dotfiles homemanager nix nix-config nix-configuration nix-dotfiles nix-expressions nix-flakes nix-template nix-templates nixos nixos-config nixos-dotfiles nixos-flake nixpkgs

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          






Denix


Denix is a Nix library designed to help you build scalable configurations for [NixOS](https://nixos.org/), [Home Manager](https://github.com/nix-community/home-manager), and [Nix-Darwin](https://github.com/nix-darwin/nix-darwin).

## Documentation

You can find the documentation here: [Denix Documentation](https://yunfachi.github.io/denix/getting_started/introduction)

## 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](./templates/minimal/) (recommended)
Hosts, rices, and initial modules for quick setup:
```sh
nix flake init -t github:yunfachi/denix#minimal
```

### [minimal-no-rices](./templates/minimal-no-rices/)
Hosts and initial modules without rices:
```sh
nix flake init -t github:yunfachi/denix#minimal-no-rices
```

### [extensions-collection](./templates/extensions-collection/)
Flake for creating your own collection of Denix extensions:
```sh
nix flake init -t github:yunfachi/denix#extensions-collection
```