Modular, context-aware and aspect-oriented dendritic Nix configurations.
Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
den.oeiuwq.com
configurations
den
dendritic
nix
aspect
oriented
1{
2 # Example: user provides static config to all its nixos hosts.
3 den.aspects.alice.nixos.users.users.alice.description = "Alice Q. User";
4
5 perSystem =
6 { checkCond, rockhopper, ... }:
7 {
8 checks.user-contributes-to-host = checkCond "alice.nixos sets on rockhopper host" (
9 rockhopper.config.users.users.alice.description == "Alice Q. User"
10 );
11 };
12}