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

update locks

+60 -17
+46 -7
templates/bogus/flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "darwin": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixpkgs" 7 + ] 8 + }, 9 + "locked": { 10 + "lastModified": 1763505477, 11 + "narHash": "sha256-nJRd4LY2kT3OELfHqdgWjvToNZ4w+zKCMzS2R6z4sXE=", 12 + "owner": "nix-darwin", 13 + "repo": "nix-darwin", 14 + "rev": "3bda9f6b14161becbd07b3c56411f1670e19b9b5", 15 + "type": "github" 16 + }, 17 + "original": { 18 + "owner": "nix-darwin", 19 + "repo": "nix-darwin", 20 + "type": "github" 21 + } 22 + }, 3 23 "den": { 4 24 "locked": { 5 - "lastModified": 1763285091, 6 - "narHash": "sha256-F2OsALSm86dfNA2grd5MVRPpAWZf4ZuuCzpYG7H0P9g=", 25 + "lastModified": 1763619142, 26 + "narHash": "sha256-31GHSwmTUZ5Ur2tbc6MclykJTTZBkT10QWMIHCHLI3k=", 7 27 "owner": "vic", 8 28 "repo": "den", 9 - "rev": "227451c9a99fb084bc6b66878c7f6f3e75f625d2", 29 + "rev": "3f38110fc4f69e5defa4ba2e3b488572c30d18dc", 10 30 "type": "github" 11 31 }, 12 32 "original": { ··· 129 149 "nixpkgs": [ 130 150 "nixpkgs" 131 151 ], 132 - "treefmt-nix": [ 133 - "treefmt-nix" 134 - ] 152 + "treefmt-nix": "treefmt-nix" 135 153 }, 136 154 "locked": { 137 155 "lastModified": 1762507096, ··· 165 183 }, 166 184 "root": { 167 185 "inputs": { 186 + "darwin": "darwin", 168 187 "den": "den", 169 188 "flake-aspects": "flake-aspects", 170 189 "flake-file": "flake-file", ··· 178 197 "nixpkgs" 179 198 ], 180 199 "systems": "systems", 181 - "treefmt-nix": "treefmt-nix" 200 + "treefmt-nix": "treefmt-nix_2" 182 201 } 183 202 }, 184 203 "systems": { ··· 197 216 } 198 217 }, 199 218 "treefmt-nix": { 219 + "inputs": { 220 + "nixpkgs": [ 221 + "nixpkgs" 222 + ] 223 + }, 224 + "locked": { 225 + "lastModified": 1762410071, 226 + "narHash": "sha256-aF5fvoZeoXNPxT0bejFUBXeUjXfHLSL7g+mjR/p5TEg=", 227 + "owner": "numtide", 228 + "repo": "treefmt-nix", 229 + "rev": "97a30861b13c3731a84e09405414398fbf3e109f", 230 + "type": "github" 231 + }, 232 + "original": { 233 + "owner": "numtide", 234 + "repo": "treefmt-nix", 235 + "type": "github" 236 + } 237 + }, 238 + "treefmt-nix_2": { 200 239 "inputs": { 201 240 "nixpkgs": [ 202 241 "nixpkgs"
+8 -3
templates/bogus/flake.nix
··· 5 5 outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); 6 6 7 7 inputs = { 8 + darwin = { 9 + inputs = { 10 + nixpkgs = { 11 + follows = "nixpkgs"; 12 + }; 13 + }; 14 + url = "github:nix-darwin/nix-darwin"; 15 + }; 8 16 den = { 9 17 url = "github:vic/den/main"; 10 18 }; ··· 48 56 }; 49 57 nixpkgs = { 50 58 follows = "nixpkgs"; 51 - }; 52 - treefmt-nix = { 53 - follows = "treefmt-nix"; 54 59 }; 55 60 }; 56 61 url = "github:nix-community/nix-unit";
-1
templates/bogus/modules/nix-unit.nix
··· 6 6 url = "github:nix-community/nix-unit"; 7 7 inputs.nixpkgs.follows = "nixpkgs"; 8 8 inputs.flake-parts.follows = "flake-parts"; 9 - inputs.treefmt-nix.follows = "treefmt-nix"; 10 9 }; 11 10 12 11 imports = [
+3 -3
templates/default/flake.lock
··· 22 22 }, 23 23 "den": { 24 24 "locked": { 25 - "lastModified": 1763285091, 26 - "narHash": "sha256-F2OsALSm86dfNA2grd5MVRPpAWZf4ZuuCzpYG7H0P9g=", 25 + "lastModified": 1763619142, 26 + "narHash": "sha256-31GHSwmTUZ5Ur2tbc6MclykJTTZBkT10QWMIHCHLI3k=", 27 27 "owner": "vic", 28 28 "repo": "den", 29 - "rev": "227451c9a99fb084bc6b66878c7f6f3e75f625d2", 29 + "rev": "3f38110fc4f69e5defa4ba2e3b488572c30d18dc", 30 30 "type": "github" 31 31 }, 32 32 "original": {
+3 -3
templates/examples/flake.lock
··· 22 22 }, 23 23 "den": { 24 24 "locked": { 25 - "lastModified": 1763285091, 26 - "narHash": "sha256-F2OsALSm86dfNA2grd5MVRPpAWZf4ZuuCzpYG7H0P9g=", 25 + "lastModified": 1763619142, 26 + "narHash": "sha256-31GHSwmTUZ5Ur2tbc6MclykJTTZBkT10QWMIHCHLI3k=", 27 27 "owner": "vic", 28 28 "repo": "den", 29 - "rev": "227451c9a99fb084bc6b66878c7f6f3e75f625d2", 29 + "rev": "3f38110fc4f69e5defa4ba2e3b488572c30d18dc", 30 30 "type": "github" 31 31 }, 32 32 "original": {