Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/

use aspectTypes directly instead of new-scope.

+9 -10
+9
modules/aspects.nix
··· 1 + { config, lib, ... }: 2 + { 3 + config._module.args.den = config.den; 4 + options.den.aspects = lib.mkOption { 5 + description = "Den Aspects"; 6 + type = config.den.lib.aspects.types.aspectsType; 7 + default = { }; 8 + }; 9 + }
-10
modules/scope.nix
··· 1 - { 2 - inputs, 3 - config, 4 - lib, 5 - ... 6 - }: 7 - { 8 - config._module.args.den = config.den; 9 - imports = [ ((inputs.flake-aspects.lib lib).new-scope "den") ]; 10 - }