Commit Graph

11 Commits

Author SHA1 Message Date
3dd1d890a3 Update nixDir documentation 2024-01-15 00:28:48 -08:00
cc2f42fbdf Enable simpler config of nixos/home configurations
Instead of having to call the configuration generation functions, the
params can just be set, and the functions will be called automatically
with additional useful settings automatically set.
2024-01-14 02:19:34 -08:00
1b51df0be3 Add propogationModule feature
The `propagationModule` config option provides a module that can be used
to propagate flakelight configuration into other module systems such as
NixOS or home-manager.
2024-01-13 18:04:31 -08:00
4b9d78f35f Speed up extracting default package pname
In order to speed up evalutation of flakes setting `packages.default`,
this trys to compute the pname in multiple ways, ordered by speed. The
pname can be set manually, which is fastest. To avoid computing a new
nixpkgs and flakelight overlays, the second option just uses callPackage
from stock nixpkgs. If that fails, the prior, most accurate, method is
used which creates a new nixpkgs with all the overlays available.
2024-01-11 17:35:01 -08:00
bcaa85757e Add pkgsFor module arg
This enables modules to access packages given some system, outside of
per-system attributes.
2024-01-11 17:35:01 -08:00
0760edb005 Refactor autoloadArgs to moduleArgs
The set of args passed to modules is useful for more than just
autoloading. This renames it appropriately and makes it available
through pkgs arguments as well.
2024-01-11 17:35:01 -08:00
2d82ec80e7 Update repository location 2023-12-18 21:46:35 -08:00
8f3bfc39aa Allow devShell to be set to a package definition 2023-12-05 19:44:12 -08:00
3b8c95b637 Add note about flake description to API guide 2023-12-05 18:58:54 -08:00
a4e4a341f2 Allow configuring the stdenv for devShell 2023-12-05 01:00:35 -08:00
64557b89d5 Capitalize API guide filename for discoverability 2023-12-04 23:46:21 -08:00