Archit Gupta
53f35dc91c
Make mkFlake extensible with additional modules
...
This is intended to allow flakes implementing a flakelight module to
export a mkFlake that automatically includes its module.
2023-09-13 22:39:20 -07:00
Archit Gupta
62083df539
Add functor option for flake's __functor attribute
...
This allows for conveniently making flakes callable.
Setting this is expected to be uncommon in general, but having the
option is useful as flakelight module flakes can use this to reduce the
boilerplate in using them.
2023-09-13 21:02:39 -07:00
Archit Gupta
46ade23b8c
Add description to flakelight flake
2023-09-05 20:04:14 -07:00
Archit Gupta
b72983b29a
Add statix check to flakelight flake
2023-09-04 16:59:59 -07:00
Archit Gupta
3f595f5f2c
Move shorter API guide sections before module options
2023-08-30 16:58:40 -07:00
Archit Gupta
e5db2dcd86
Have formatters for each file run in parallel
2023-08-28 19:57:26 -07:00
Archit Gupta
84162f4098
Remove extra binding in example
2023-08-27 23:52:33 -07:00
Archit Gupta
39aa44f41e
Add API guide
2023-08-27 23:35:32 -07:00
Archit Gupta
0e76ac9b3c
Allow autoloading flakelightModules options
2023-08-27 23:35:15 -07:00
Archit Gupta
f4edb1589b
Remove nixpkgs overrides from some examples
2023-08-27 18:36:21 -07:00
Archit Gupta
f684fd8b03
Shorten list of items in goals
2023-08-27 18:19:08 -07:00
Archit Gupta
1b3cb5dd5d
Add nixDir example to README
2023-08-27 18:17:56 -07:00
Archit Gupta
38b798fe1c
Update README
2023-08-27 18:06:30 -07:00
Archit Gupta
b27680288c
Add basic flake template
2023-08-27 17:57:30 -07:00
Archit Gupta
ba7f68e4e2
Fix inf recursions in computing default package's name
2023-08-27 13:57:16 -07:00
Archit Gupta
62b7dba619
Fix args passed to autoloaded files
2023-08-27 01:19:40 -07:00
Archit Gupta
838e383c50
Export autoImportArgs to modules
2023-08-27 00:01:48 -07:00
Archit Gupta
9672921de0
Add option for extending default overlay
2023-08-26 23:46:37 -07:00
Archit Gupta
981351cfe2
Add options for flakelight modules
2023-08-26 22:57:59 -07:00
Archit Gupta
b8d9538c58
Rename project from flakelite to flakelight
2023-08-26 22:48:57 -07:00
Archit Gupta
f6c4424f6e
Reimplement framework using the module system
2023-08-26 22:39:28 -07:00
Archit Gupta
4df2ca87b5
Add readme note regarding project status
2023-07-04 08:09:26 -07:00
Archit Gupta
50c4ad5cff
Fix devShell attributes added at wrong level
2023-07-02 11:42:23 -07:00
Archit Gupta
412add2d01
Remove automatic use of ./. as nixDir
...
Using ./. as nixDir can cause confusion on repos with unrelated
directories that get picked up inadvertently.
2023-06-29 22:05:23 -07:00
Archit Gupta
af3e7f7a6f
Add nixpkgsConfig to allow configuring nixpkgs
2023-05-13 20:05:21 -07:00
Archit Gupta
d871fd7cbf
Use src as default nixDir if ./nix does not exist
2023-04-22 13:34:03 -07:00
Archit Gupta
f4f7a8cd37
Add aliases for autoloading root module attrs
2023-04-22 13:33:19 -07:00
Archit Gupta
f9967894bb
Add support for home-manager outputs
2023-04-22 11:13:33 -07:00
Archit Gupta
7940d0c53f
Add inputs and inputs' to top level of pkgs overlay
2023-04-22 10:13:01 -07:00
Archit Gupta
2c6954f018
Fix default nixDir path
2023-04-22 10:12:41 -07:00
Archit Gupta
bd68bc5c44
Make flakelite a functor as a shortcut for mkFlake
2023-04-20 19:29:56 -07:00
Archit Gupta
59ccd592a3
Allow outputs to be a functor
...
Previously, if outputs was a functor, it would mistakenly get called by
recUpdateSets.
2023-04-20 18:45:31 -07:00
Archit Gupta
76eb12e51b
Allow root module to be a function
2023-04-20 18:26:39 -07:00
Archit Gupta
ef5d482ea6
Add coreutils to pre-commit-hook to specify mktemp
2023-04-16 19:59:02 -07:00
Archit Gupta
c9b8d986e1
Allow formatters to be functions
2023-04-16 18:37:32 -07:00
Archit Gupta
3a26542b83
Clean up git pre-commit hook package
2023-04-16 16:51:08 -07:00
Archit Gupta
1c8ac213b0
Split up builtinModule into multiple modules
2023-04-16 16:31:17 -07:00
Archit Gupta
9c40724207
Have devShell install git pre-commit hook
2023-04-16 13:22:21 -07:00
Archit Gupta
07e68ac51b
Allow check attributes to be functions that take pkgs
2023-04-16 11:33:19 -07:00
Archit Gupta
03cdbbabdf
Add shellHook attr to configure default devShell
2023-04-16 11:20:28 -07:00
Archit Gupta
7509ce4110
Add comments
2023-04-16 00:55:45 -07:00
Archit Gupta
9e3bb803c6
Add default value for flakelite input
2023-04-15 20:11:34 -07:00
Archit Gupta
53843042f2
Apply some cleanup
2023-04-15 19:08:36 -07:00
Archit Gupta
b9ee864785
Add inputs module attribute for setting default inputs
2023-04-15 18:05:20 -07:00
Archit Gupta
76c6ec7938
Call per-system attributes with callFn
2023-04-15 16:59:02 -07:00
Archit Gupta
7149d4b655
Use callFn for modules and nonSysArgs
2023-04-15 16:33:46 -07:00
Archit Gupta
55493becb8
Refactoring and naming cleanup
2023-04-15 14:11:38 -07:00
Archit Gupta
bafb3c33ec
Make raw root module available under root'.raw
2023-04-15 11:21:05 -07:00
Archit Gupta
aa0a3b3c2e
Change file escape char to _
2023-04-15 11:02:06 -07:00
Archit Gupta
3136d8e860
Add singular nixosModule and template
2023-04-15 06:36:46 -07:00