diff --git a/Justfile b/Justfile index 8588f0e..f0d8a59 100644 --- a/Justfile +++ b/Justfile @@ -5,10 +5,10 @@ docs: cd docs && pnpm run dev ci test="": - nix-unit --override-input target . --flake github:vic/checkmate#.tests.systems.x86_64-linux.system-agnostic.{{test}} + nix-unit --override-input target . --flake github:denful/checkmate#.tests.systems.x86_64-linux.system-agnostic.{{test}} check: - nix flake check --override-input target . github:vic/checkmate + nix flake check --override-input target . github:denful/checkmate fmt: - nix run github:vic/checkmate#fmt --override-input target . + nix run github:denful/checkmate#fmt --override-input target . diff --git a/README.md b/README.md index 4106f9b..70f397b 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@

- Sponsor Vic + Sponsor Vic Dendritic Nix - - CI Status - License + + CI Status + License

# `.` Transposition for Dendritic Nix -> `flake-aspects` and [vic](https://bsky.app/profile/oeiuwq.bsky.social)'s [dendritic libs](https://dendritic.oeiuwq.com) made for you with Love++ and AI--. If you like my work, consider [sponsoring](https://dendritic.oeiuwq.com/sponsor) +> `flake-aspects` and [denful](https://bsky.app/profile/oeiuwq.bsky.social)'s [dendritic libs](https://dendritic.oeiuwq.com) made for you with Love++ and AI--. If you like my work, consider [sponsoring](https://dendritic.oeiuwq.com/sponsor) In [aspect-oriented](https://den.oeiuwq.com) [Dendritic](https://github.com/mightyiam/dendritic) setups, it is common to expose modules using the structure `flake.modules..`. diff --git a/checkmate/modules/tests/aspect_functor_merge.nix b/checkmate/modules/tests/aspect_functor_merge.nix index d15411f..f16c79c 100644 --- a/checkmate/modules/tests/aspect_functor_merge.nix +++ b/checkmate/modules/tests/aspect_functor_merge.nix @@ -6,7 +6,7 @@ # invoke all definitions and merge their results, causing duplication # when the functor uses `self` (the merged aspect) to produce includes. # -# See https://github.com/vic/den/issues/216 +# See https://github.com/denful/den/issues/216 { lib, new-scope, ... }: { diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 9da0624..9e59e24 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -80,7 +80,7 @@ export default defineConfig({ }), ], editLink: { - baseUrl: 'https://github.com/vic/flake-aspects/edit/main/docs/', + baseUrl: 'https://github.com/denful/flake-aspects/edit/main/docs/', }, customCss: [ './src/styles/custom.css' diff --git a/docs/src/components/Ad.astro b/docs/src/components/Ad.astro index e18233d..83e2aef 100644 --- a/docs/src/components/Ad.astro +++ b/docs/src/components/Ad.astro @@ -6,25 +6,25 @@ import { LinkButton, Icon } from '@astrojs/starlight/components';
-

vic/flake-aspects?

+

denful/flake-aspects?

Become a Sponsor

- flake-aspects is part of @vic's Dendritic Ecosystem — made with love and maintained with passion. + flake-aspects is part of @denful's Dendritic Ecosystem — made with love and maintained with passion.

- More @vic OpenSource + More @denful OpenSource
diff --git a/docs/src/components/SocialIcons.astro b/docs/src/components/SocialIcons.astro index e2e2ff9..2eba95e 100644 --- a/docs/src/components/SocialIcons.astro +++ b/docs/src/components/SocialIcons.astro @@ -4,13 +4,13 @@ import Default from '@astrojs/starlight/components/SocialIcons.astro'; --- - + -Ask DeepWiki +Ask DeepWiki - Vic Dendritic Nix + Vic Dendritic Nix -Sponsor Den +Sponsor Den diff --git a/docs/src/content/docs/concepts/aspects.mdx b/docs/src/content/docs/concepts/aspects.mdx index 1853cf1..0a3fd88 100644 --- a/docs/src/content/docs/concepts/aspects.mdx +++ b/docs/src/content/docs/concepts/aspects.mdx @@ -7,7 +7,7 @@ import { Aside } from '@astrojs/starlight/components'; ## Aspect structure -Each aspect is a Nix submodule ([`nix/types.nix`](https://github.com/vic/flake-aspects/blob/main/nix/types.nix)) with: +Each aspect is a Nix submodule ([`nix/types.nix`](https://github.com/denful/flake-aspects/blob/main/nix/types.nix)) with: | Attribute | Type | Purpose | |---|---|---| @@ -37,7 +37,7 @@ Each key under the aspect that is not a reserved attribute (`name`, `description ## Resolution -Source: [`nix/resolve.nix`](https://github.com/vic/flake-aspects/blob/main/nix/resolve.nix) +Source: [`nix/resolve.nix`](https://github.com/denful/flake-aspects/blob/main/nix/resolve.nix) ``` resolve : class → aspect-chain → provided → { imports } @@ -77,8 +77,8 @@ provides.logging = { aspect-chain, class }: ``` ## Accessing resolved modules diff --git a/docs/src/content/docs/concepts/providers.mdx b/docs/src/content/docs/concepts/providers.mdx index 5b759d9..3bb14b4 100644 --- a/docs/src/content/docs/concepts/providers.mdx +++ b/docs/src/content/docs/concepts/providers.mdx @@ -33,7 +33,7 @@ provides.logging = { class, aspect-chain }: { ``` ## Fixpoint semantics @@ -60,15 +60,15 @@ flake.aspects = { aspects, ... }: { }; ``` -The fixpoint is implemented via `freeformType` with `_module.args.aspects = config` in [types.nix](https://github.com/vic/flake-aspects/blob/main/nix/types.nix), so `aspects` always refers to the evaluated sibling scope. +The fixpoint is implemented via `freeformType` with `_module.args.aspects = config` in [types.nix](https://github.com/denful/flake-aspects/blob/main/nix/types.nix), so `aspects` always refers to the evaluated sibling scope. ## Provider types -The type system ([`nix/types.nix`](https://github.com/vic/flake-aspects/blob/main/nix/types.nix)) accepts several provider shapes: +The type system ([`nix/types.nix`](https://github.com/denful/flake-aspects/blob/main/nix/types.nix)) accepts several provider shapes: | Shape | Description | |---|---| diff --git a/docs/src/content/docs/concepts/transpose.mdx b/docs/src/content/docs/concepts/transpose.mdx index b21a2dc..acbfb26 100644 --- a/docs/src/content/docs/concepts/transpose.mdx +++ b/docs/src/content/docs/concepts/transpose.mdx @@ -22,11 +22,11 @@ transpose { a.x = 1; b.x = 2; } ``` -## Source: [`nix/default.nix`](https://github.com/vic/flake-aspects/blob/main/nix/default.nix) +## Source: [`nix/default.nix`](https://github.com/denful/flake-aspects/blob/main/nix/default.nix) The implementation is a three-phase pipeline: @@ -47,7 +47,7 @@ You can use `emit` to: ## How aspects exploit `emit` -[`nix/aspects.nix`](https://github.com/vic/flake-aspects/blob/main/nix/aspects.nix) supplies a custom `emit` that calls [`resolve`](/concepts/aspects/#resolution) on each item: +[`nix/aspects.nix`](https://github.com/denful/flake-aspects/blob/main/nix/aspects.nix) supplies a custom `emit` that calls [`resolve`](/concepts/aspects/#resolution) on each item: ```nix emit = transposed: [{ @@ -61,5 +61,5 @@ emit = transposed: [{ This intercepts every `.` → `.` transposition and replaces the raw value with a fully-resolved module that includes all transitive dependencies. diff --git a/docs/src/content/docs/contributing.md b/docs/src/content/docs/contributing.md index 6bd7aa5..0b5bc36 100644 --- a/docs/src/content/docs/contributing.md +++ b/docs/src/content/docs/contributing.md @@ -8,13 +8,13 @@ All contributions welcome. PRs are checked by CI. ## Run tests ```shell -nix flake check github:vic/checkmate --override-input target . -L +nix flake check github:denful/checkmate --override-input target . -L ``` ## Format code ```shell -nix run github:vic/checkmate#fmt --override-input target . +nix run github:denful/checkmate#fmt --override-input target . ``` ## Bug reports @@ -33,5 +33,5 @@ cd docs && pnpm install && pnpm run dev ## Community -- [GitHub Issues](https://github.com/vic/flake-aspects/issues) — bugs and features -- [GitHub Discussions](https://github.com/vic/flake-aspects/discussions) — questions and ideas +- [GitHub Issues](https://github.com/denful/flake-aspects/issues) — bugs and features +- [GitHub Discussions](https://github.com/denful/flake-aspects/discussions) — questions and ideas diff --git a/docs/src/content/docs/guides/dependencies.mdx b/docs/src/content/docs/guides/dependencies.mdx index 54455e0..84b3133 100644 --- a/docs/src/content/docs/guides/dependencies.mdx +++ b/docs/src/content/docs/guides/dependencies.mdx @@ -35,7 +35,7 @@ When `server` is resolved for class `"nixos"`, the result is: Only classes **present on the included aspect** propagate. If `networking` has no `darwin` key, nothing from `networking` appears when resolving for `"darwin"`. ## Transitive resolution @@ -62,7 +62,7 @@ flake.aspects = { aspects, ... }: { Resolving `one` for `classOne` collects `["1", "2", "3", "4"]`. ## Inline aspects as includes diff --git a/docs/src/content/docs/guides/flake-parts.mdx b/docs/src/content/docs/guides/flake-parts.mdx index 7ef6cb9..c55281b 100644 --- a/docs/src/content/docs/guides/flake-parts.mdx +++ b/docs/src/content/docs/guides/flake-parts.mdx @@ -11,7 +11,7 @@ Add `flake-aspects` to your flake inputs and import its `flakeModule`: ```nix { - inputs.flake-aspects.url = "github:vic/flake-aspects"; + inputs.flake-aspects.url = "github:denful/flake-aspects"; outputs = { flake-parts, flake-aspects, nixpkgs, ... }@inputs: flake-parts.lib.mkFlake { inherit inputs; } { @@ -38,7 +38,7 @@ Add `flake-aspects` to your flake inputs and import its `flakeModule`: ## How it works -The [`flakeModule`](https://github.com/vic/flake-aspects/blob/main/nix/flakeModule.nix) calls [`new`](/reference/api/#new) with a callback that: +The [`flakeModule`](https://github.com/denful/flake-aspects/blob/main/nix/flakeModule.nix) calls [`new`](/reference/api/#new) with a callback that: 1. Creates `flake.aspects` as a user-facing option (type: `aspectsType`). 2. Sets `flake.modules` to the transposed + resolved output. @@ -59,8 +59,8 @@ imports = [ Then in your system configs: `inputs.self.modules.nixos.my-desktop`. ## Using dependencies diff --git a/docs/src/content/docs/guides/forward.mdx b/docs/src/content/docs/guides/forward.mdx index 622f17e..ee5dd27 100644 --- a/docs/src/content/docs/guides/forward.mdx +++ b/docs/src/content/docs/guides/forward.mdx @@ -7,7 +7,7 @@ import { Aside } from '@astrojs/starlight/components'; ## What `forward` does -[`forward`](https://github.com/vic/flake-aspects/blob/main/nix/forward.nix) resolves an aspect for one class and injects the result into a submodule path of another class. This enables cross-class configuration routing. +[`forward`](https://github.com/denful/flake-aspects/blob/main/nix/forward.nix) resolves an aspect for one class and injects the result into a submodule path of another class. This enables cross-class configuration routing. The canonical use case: forward `homeManager` modules into `nixos.home-manager.users.`. @@ -65,12 +65,12 @@ flake.aspects = { aspects, ... }: { Resolving for `"targetClass"` merges `["from-target", "from-source"]`. ## Real-world: Home-Manager into NixOS -This is how [Den](https://github.com/vic/den) forwards user home-manager configs into host NixOS: +This is how [Den](https://github.com/denful/den) forwards user home-manager configs into host NixOS: ```nix hmSupport = { host }: forward { diff --git a/docs/src/content/docs/guides/functor.mdx b/docs/src/content/docs/guides/functor.mdx index 487d038..3d4c3ec 100644 --- a/docs/src/content/docs/guides/functor.mdx +++ b/docs/src/content/docs/guides/functor.mdx @@ -34,7 +34,7 @@ When resolved for `"nixos"`, it returns the full aspect (with `nixos.base = true When resolved for `"darwin"`, it returns a different aspect with `darwin.fallback = true`. ## Functor with parametric includes @@ -63,5 +63,5 @@ Note: when `__functor` is overridden, the aspect's own class configs (e.g., `cla are **not** automatically included — the functor's return value replaces the aspect entirely during resolution. diff --git a/docs/src/content/docs/guides/parametric.mdx b/docs/src/content/docs/guides/parametric.mdx index 5705940..ac8d10c 100644 --- a/docs/src/content/docs/guides/parametric.mdx +++ b/docs/src/content/docs/guides/parametric.mdx @@ -24,7 +24,7 @@ flake.aspects = { aspects, ... }: { Resolving `server` for `"nixos"` produces imports containing `{ users.users.bob.isNormalUser = true; }`. ## Top-level parametric @@ -43,14 +43,14 @@ flake.aspects = { aspects, ... }: { }; ``` -The type system ([`nix/types.nix`](https://github.com/vic/flake-aspects/blob/main/nix/types.nix)) distinguishes between: +The type system ([`nix/types.nix`](https://github.com/denful/flake-aspects/blob/main/nix/types.nix)) distinguishes between: - **Direct providers**: `{ class, aspect-chain } → aspect` (1-2 named args: `class` and/or `aspect-chain`) - **Curried providers**: `anything → provider` (other function signatures) A curried provider is invoked by the user at inclusion time. Its return value must be either another provider function or a direct aspect attrset. ## Combining with context diff --git a/docs/src/content/docs/guides/standalone.mdx b/docs/src/content/docs/guides/standalone.mdx index 1927b75..4e3be56 100644 --- a/docs/src/content/docs/guides/standalone.mdx +++ b/docs/src/content/docs/guides/standalone.mdx @@ -7,7 +7,7 @@ import { Aside } from '@astrojs/starlight/components'; ## `new-scope` — named aspect namespaces -[`new-scope`](https://github.com/vic/flake-aspects/blob/main/nix/new-scope.nix) creates an isolated aspect namespace within any `lib.evalModules` evaluation: +[`new-scope`](https://github.com/denful/flake-aspects/blob/main/nix/new-scope.nix) creates an isolated aspect namespace within any `lib.evalModules` evaluation: ```nix let @@ -34,7 +34,7 @@ in - `my.modules` — output: transposed + resolved modules (read-only) ## Multiple scopes @@ -54,12 +54,12 @@ modules = [ After merging, `bar.modules.nixos.a` contains both `"from-foo"` and `"from-bar"`. ## `new` — low-level factory -[`new`](https://github.com/vic/flake-aspects/blob/main/nix/new.nix) is the callback-based primitive underneath `new-scope`: +[`new`](https://github.com/denful/flake-aspects/blob/main/nix/new.nix) is the callback-based primitive underneath `new-scope`: ```nix new (option: transposed: { @@ -70,4 +70,4 @@ new (option: transposed: { `new-scope` is sugar for the common `${name}.aspects` / `${name}.modules` pattern. Use `new` directly when you need custom option paths or additional logic in the callback. -Useful for libraries that want isolated aspect scopes or flake-parts independence (see [Den's scope](https://github.com/vic/den/blob/main/nix/scope.nix)). +Useful for libraries that want isolated aspect scopes or flake-parts independence (see [Den's scope](https://github.com/denful/den/blob/main/nix/scope.nix)). diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index 9371ec2..7a805f1 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -15,7 +15,7 @@ hero: link: /overview/ variant: minimal - text: Source Code - link: https://github.com/vic/flake-aspects + link: https://github.com/denful/flake-aspects icon: github variant: secondary --- @@ -70,4 +70,4 @@ context-aware `__functor` override, and cross-class `forward`. } ``` -Used by [Den](https://github.com/vic/den) and others for dendritic Nix setups. +Used by [Den](https://github.com/denful/den) and others for dendritic Nix setups. diff --git a/docs/src/content/docs/motivation.mdx b/docs/src/content/docs/motivation.mdx index 6c4df16..5bcb453 100644 --- a/docs/src/content/docs/motivation.mdx +++ b/docs/src/content/docs/motivation.mdx @@ -43,8 +43,8 @@ flake-aspects is a **library**, not a framework. It does not: - Provide a context pipeline or entity schemas - Ship batteries or opinionated defaults -For a framework built on flake-aspects, see [Den](https://github.com/vic/den). +For a framework built on flake-aspects, see [Den](https://github.com/denful/den). diff --git a/docs/src/content/docs/reference/api.mdx b/docs/src/content/docs/reference/api.mdx index e3f721d..3fd0d46 100644 --- a/docs/src/content/docs/reference/api.mdx +++ b/docs/src/content/docs/reference/api.mdx @@ -26,11 +26,11 @@ Usage: `flake-aspects.lib nixpkgs.lib` or `import ./nix/lib.nix lib`. ## Exports -Source: [`nix/lib.nix`](https://github.com/vic/flake-aspects/blob/main/nix/lib.nix) +Source: [`nix/lib.nix`](https://github.com/denful/flake-aspects/blob/main/nix/lib.nix) ### `transpose { emit? }` -Source: [`nix/default.nix`](https://github.com/vic/flake-aspects/blob/main/nix/default.nix) +Source: [`nix/default.nix`](https://github.com/denful/flake-aspects/blob/main/nix/default.nix) Generic 2-level transposition. Returns a function `attrs → transposed-attrs`. @@ -42,7 +42,7 @@ See [Transpose concept](/concepts/transpose/). ### `types` -Source: [`nix/types.nix`](https://github.com/vic/flake-aspects/blob/main/nix/types.nix) +Source: [`nix/types.nix`](https://github.com/denful/flake-aspects/blob/main/nix/types.nix) Returns `{ aspectsType, aspectSubmodule, providerType }`. @@ -50,7 +50,7 @@ See [Type System reference](/reference/types/). ### `aspects` -Source: [`nix/aspects.nix`](https://github.com/vic/flake-aspects/blob/main/nix/aspects.nix) +Source: [`nix/aspects.nix`](https://github.com/denful/flake-aspects/blob/main/nix/aspects.nix) `aspects : lib → aspectsConfig → { transposed }`. @@ -58,7 +58,7 @@ Aspect-aware transposition. Supplies a custom `emit` to `transpose` that calls ` ### `new` -Source: [`nix/new.nix`](https://github.com/vic/flake-aspects/blob/main/nix/new.nix) +Source: [`nix/new.nix`](https://github.com/denful/flake-aspects/blob/main/nix/new.nix) `new : lib → (option → transposed → moduleDefinition) → aspectsConfig → moduleDefinition`. @@ -68,7 +68,7 @@ Low-level scope factory. The callback receives: ### `new-scope` -Source: [`nix/new-scope.nix`](https://github.com/vic/flake-aspects/blob/main/nix/new-scope.nix) +Source: [`nix/new-scope.nix`](https://github.com/denful/flake-aspects/blob/main/nix/new-scope.nix) `new-scope : name → nixos-module`. @@ -76,7 +76,7 @@ Creates `${name}.aspects` (input) and `${name}.modules` (read-only output). Suga ### `forward` -Source: [`nix/forward.nix`](https://github.com/vic/flake-aspects/blob/main/nix/forward.nix) +Source: [`nix/forward.nix`](https://github.com/denful/flake-aspects/blob/main/nix/forward.nix) `forward : lib → { each, fromClass, intoClass, intoPath, fromAspect } → aspect`. @@ -84,6 +84,6 @@ Cross-class module forwarding. See [Forward guide](/guides/forward/). ## `flakeModule` -Source: [`nix/flakeModule.nix`](https://github.com/vic/flake-aspects/blob/main/nix/flakeModule.nix) +Source: [`nix/flakeModule.nix`](https://github.com/denful/flake-aspects/blob/main/nix/flakeModule.nix) A flake-parts module. Import it to get `flake.aspects` (input) → `flake.modules` (output). Uses `new` internally. See [flake-parts guide](/guides/flake-parts/). diff --git a/docs/src/content/docs/reference/tests.mdx b/docs/src/content/docs/reference/tests.mdx index 68cf3c9..b371e11 100644 --- a/docs/src/content/docs/reference/tests.mdx +++ b/docs/src/content/docs/reference/tests.mdx @@ -7,13 +7,13 @@ description: All test files and how to run them. ```shell # Format code -nix run github:vic/checkmate#fmt --override-input target . +nix run github:denful/checkmate#fmt --override-input target . # Run all tests -nix flake check github:vic/checkmate --override-input target . -L +nix flake check github:denful/checkmate --override-input target . -L ``` -Tests use [checkmate](https://github.com/vic/checkmate) — each test defines `flake.tests. = { expr, expected }`. +Tests use [checkmate](https://github.com/denful/checkmate) — each test defines `flake.tests. = { expr, expected }`. ## Test index @@ -21,51 +21,51 @@ Tests use [checkmate](https://github.com/vic/checkmate) — each test defines `f | Test | What it verifies | |---|---| -| [`transpose_swap.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/transpose_swap.nix) | `{ a.b.c = 1 }` → `{ b.a.c = 1 }` | -| [`transpose_common.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/transpose_common.nix) | Common children merge: `{ a.b, c.b }` → `{ b.{a,c} }` | -| [`tranpose_flake_modules.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/tranpose_flake_modules.nix) | `flake.aspects` → `flake.modules` end-to-end | +| [`transpose_swap.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/transpose_swap.nix) | `{ a.b.c = 1 }` → `{ b.a.c = 1 }` | +| [`transpose_common.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/transpose_common.nix) | Common children merge: `{ a.b, c.b }` → `{ b.{a,c} }` | +| [`tranpose_flake_modules.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/tranpose_flake_modules.nix) | `flake.aspects` → `flake.modules` end-to-end | ### Resolution & Dependencies | Test | What it verifies | |---|---| -| [`aspect_dependencies.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_dependencies.nix) | `includes` resolves transitive deps per class | -| [`aspect_chain.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_chain.nix) | `aspect-chain` grows correctly through resolution | -| [`aspect_modules_resolved.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_modules_resolved.nix) | `.modules.` matches `.resolve { class }` | -| [`aspect_fixpoint.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_fixpoint.nix) | Fixpoint: providers reference siblings and top-level | +| [`aspect_dependencies.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_dependencies.nix) | `includes` resolves transitive deps per class | +| [`aspect_chain.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_chain.nix) | `aspect-chain` grows correctly through resolution | +| [`aspect_modules_resolved.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_modules_resolved.nix) | `.modules.` matches `.resolve { class }` | +| [`aspect_fixpoint.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_fixpoint.nix) | Fixpoint: providers reference siblings and top-level | ### Providers | Test | What it verifies | |---|---| -| [`aspect_provides.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_provides.nix) | `provides` / `_` with context-aware providers | -| [`aspect_parametric.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_parametric.nix) | Curried provider in `provides` | -| [`aspect_toplevel_parametric.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_toplevel_parametric.nix) | Curried top-level aspect | +| [`aspect_provides.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_provides.nix) | `provides` / `_` with context-aware providers | +| [`aspect_parametric.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_parametric.nix) | Curried provider in `provides` | +| [`aspect_toplevel_parametric.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_toplevel_parametric.nix) | Curried top-level aspect | ### Functor | Test | What it verifies | |---|---| -| [`aspect_default_provider_functor.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_default_provider_functor.nix) | `__functor` override with parametric includes | -| [`aspect_default_provider_override.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_default_provider_override.nix) | Functor replaces original config entirely | +| [`aspect_default_provider_functor.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_default_provider_functor.nix) | `__functor` override with parametric includes | +| [`aspect_default_provider_override.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_default_provider_override.nix) | Functor replaces original config entirely | ### Scopes & Standalone | Test | What it verifies | |---|---| -| [`without_flakes.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/without_flakes.nix) | `new-scope` + `lib.evalModules` without flakes | -| [`aspect_assignment.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/aspect_assignment.nix) | Multiple scopes merge correctly | -| [`default_empty.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/default_empty.nix) | Empty `flake.aspects` produces empty `flake.modules` | +| [`without_flakes.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/without_flakes.nix) | `new-scope` + `lib.evalModules` without flakes | +| [`aspect_assignment.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/aspect_assignment.nix) | Multiple scopes merge correctly | +| [`default_empty.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/default_empty.nix) | Empty `flake.aspects` produces empty `flake.modules` | ### Forward | Test | What it verifies | |---|---| -| [`forward.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests/forward.nix) | Cross-class module forwarding | +| [`forward.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests/forward.nix) | Cross-class module forwarding | ## Test harness -The test infrastructure ([`checkmate/modules/tests.nix`](https://github.com/vic/flake-aspects/blob/main/checkmate/modules/tests.nix)) provides: +The test infrastructure ([`checkmate/modules/tests.nix`](https://github.com/denful/flake-aspects/blob/main/checkmate/modules/tests.nix)) provides: | Helper | Purpose | |---|---| diff --git a/docs/src/content/docs/reference/types.mdx b/docs/src/content/docs/reference/types.mdx index f74c1a7..d62852c 100644 --- a/docs/src/content/docs/reference/types.mdx +++ b/docs/src/content/docs/reference/types.mdx @@ -5,7 +5,7 @@ description: The Nix option types that validate aspect definitions. import { Aside } from '@astrojs/starlight/components'; -Source: [`nix/types.nix`](https://github.com/vic/flake-aspects/blob/main/nix/types.nix) +Source: [`nix/types.nix`](https://github.com/denful/flake-aspects/blob/main/nix/types.nix) ## Exported types diff --git a/docs/src/content/docs/sponsor.md b/docs/src/content/docs/sponsor.md index 6c0938c..208a504 100644 --- a/docs/src/content/docs/sponsor.md +++ b/docs/src/content/docs/sponsor.md @@ -3,6 +3,6 @@ title: Sponsor description: Support flake-aspects development. --- -flake-aspects and [vic](https://bsky.app/profile/oeiuwq.bsky.social)'s [dendritic libs](https://vic.github.io/dendrix/Dendritic-Ecosystem.html#vics-dendritic-libraries) are made with Love++ and AI--. +flake-aspects and [denful](https://bsky.app/profile/oeiuwq.bsky.social)'s [dendritic libs](https://denful.github.io/dendrix/Dendritic-Ecosystem.html#vics-dendritic-libraries) are made with Love++ and AI--. -If you find them useful, consider [sponsoring](https://github.com/sponsors/vic). +If you find them useful, consider [sponsoring](https://github.com/sponsors/denful). diff --git a/nix/forward.nix b/nix/forward.nix index 66459b6..a8648ee 100644 --- a/nix/forward.nix +++ b/nix/forward.nix @@ -16,7 +16,7 @@ # This is particularly useful for per-user homeManager like # configurations. # -# The following pseudo-code snippet is used by [den](https://github.com/vic/den) +# The following pseudo-code snippet is used by [den](https://github.com/denful/den) # to support homeManager classes on NixOS. # # hmSupport = { host }: forward {