···3 den.provides.inputs' = den.lib.parametric {
4 description = ''
5 Provides the `flake-parts` `inputs'` (the flake's `inputs` with system pre-selected)
6- as a top-level module argument. This allows modules to access per-system
7- flake outputs without needing `pkgs.stdenv.hostPlatform.system`.
0089 ## Usage
1011- # makes inputs' available to modules in my-aspect
12- den.aspects.my-aspect.includes = [ den._.inputs' ];
1314- # module implementation
15- { inputs', ... }: {
16- # use inputs' as needed
17- }
00000018 '';
1920 includes = [
···3 den.provides.inputs' = den.lib.parametric {
4 description = ''
5 Provides the `flake-parts` `inputs'` (the flake's `inputs` with system pre-selected)
6+ as a top-level module argument.
7+8+ This allows modules to access per-system flake outputs without needing
9+ `pkgs.stdenv.hostPlatform.system`.
1011 ## Usage
1213+ **Global (Recommended):**
14+ Apply to all hosts, users, and homes.
1516+ den.default.includes = [ den._.inputs' ];
17+18+ **Specific:**
19+ Apply only to a specific host, user, or home aspect.
20+21+ den.aspects.my-laptop.includes = [ den._.inputs' ];
22+ den.aspects.alice.includes = [ den._.inputs' ];
23+24+ **Note:** If specified in a user aspect (e.g., `alice`) that is integrated into a host (not standalone),
25+ `inputs'` will be available to **both** the user's Home Manager configuration and the **Host's** configuration.
26 '';
2728 includes = [
+16-8
modules/aspects/provides/self.nix
···3 den.provides.self' = den.lib.parametric {
4 description = ''
5 Provides the `flake-parts` `self'` (the flake's `self` with system pre-selected)
6- as a top-level module argument. This allows modules to access per-system
7- flake outputs without needing `pkgs.stdenv.hostPlatform.system`.
0089 ## Usage
1011- # makes self' available to modules in my-aspect
12- den.aspects.my-aspect.includes = [ den._.self' ];
1314- # module implementation
15- { self', ... }: {
16- # use self' as needed
17- }
00000018 '';
1920 includes = [
···3 den.provides.self' = den.lib.parametric {
4 description = ''
5 Provides the `flake-parts` `self'` (the flake's `self` with system pre-selected)
6+ as a top-level module argument.
7+8+ This allows modules to access per-system flake outputs without needing
9+ `pkgs.stdenv.hostPlatform.system`.
1011 ## Usage
1213+ **Global (Recommended):**
14+ Apply to all hosts, users, and homes.
1516+ den.default.includes = [ den._.self' ];
17+18+ **Specific:**
19+ Apply only to a specific host, user, or home aspect.
20+21+ den.aspects.my-laptop.includes = [ den._.self' ];
22+ den.aspects.alice.includes = [ den._.self' ];
23+24+ **Note:** If specified in a user aspect (e.g., `alice`) that is integrated into a host (not standalone),
25+ `self'` will be available to **both** the user's Home Manager configuration and the **Host's** configuration.
26 '';
2728 includes = [