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

example test

+27
+27
templates/ci/modules/new-test.nix
··· 1 + # copy this file and rename `new` and `something` 2 + # adapt the code to assert something via `expr` and `expected`. 3 + # denTest is defined at test-support/eval-den.nix and provides args: 4 + # - igloo = nixosConfigurations.igloo.config 5 + # - tuxHm = igloo.home-manager.users.tux 6 + { denTest, ... }: 7 + { 8 + flake.tests.new = { 9 + test-something = denTest ( 10 + { den, igloo, ... }: 11 + { 12 + den.hosts.x86_64-linux.igloo.users.tux = { }; 13 + 14 + den.aspects.base = 15 + { host, ... }: 16 + { 17 + nixos.networking.hostName = host.hostName; 18 + }; 19 + 20 + den.aspects.igloo.includes = [ den.aspects.base ]; 21 + 22 + expr = igloo.networking.hostName; 23 + expected = "igloo"; 24 + } 25 + ); 26 + }; 27 + }