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
- Host: GitHub
- URL: https://github.com/yunfachi/denix
- Owner: yunfachi
- License: mit
- Created: 2024-08-13T07:02:06.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-08T04:59:56.000Z (over 1 year ago)
- Last Synced: 2025-02-08T05:26:08.174Z (over 1 year ago)
- Topics: 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
- Language: Nix
- Homepage: https://yunfachi.github.io/denix/
- Size: 191 KB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - yunfachi/denix - Extensible Nix library for creating scalable NixOS, Home Manager, and Nix-Darwin configurations with modules, hosts, and rices (Nix)
README
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
```