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

fmt

+10 -8
+10 -8
templates/default/modules/aspects/alice.nix
··· 3 den.aspects.alice = { 4 # You can include other aspects, in this case some 5 # den included batteries that provide common configs. 6 - includes = let 7 - # deadnix: skip # demo: enable <> on lexical scope 8 - inherit (den.lib) __findFile; 9 - in [ 10 - <eg/autologin> 11 - <den/primary-user> # alice is admin always. 12 - (<den/user-shell> "fish") # default user shell 13 - ]; 14 15 # Alice configures NixOS hosts it lives on. 16 nixos =
··· 3 den.aspects.alice = { 4 # You can include other aspects, in this case some 5 # den included batteries that provide common configs. 6 + includes = 7 + let 8 + # deadnix: skip # demo: enable <> on lexical scope 9 + inherit (den.lib) __findFile; 10 + in 11 + [ 12 + <eg/autologin> 13 + <den/primary-user> # alice is admin always. 14 + (<den/user-shell> "fish") # default user shell 15 + ]; 16 17 # Alice configures NixOS hosts it lives on. 18 nixos =