mirror of
https://github.com/nix-community/flakelight.git
synced 2025-08-15 17:42:35 +02:00
Enable all options to be auto-loaded from nixDir
This removes the manual configuration of which options are auto-loaded. Now all options are eligible except for "nixDir" and "_module" as those would cause inf recursions. Additionally, instead of setting name aliases in the nixDir module, a config option is added, enabling other modules to extend the aliases lists.
This commit is contained in:
@ -12,7 +12,7 @@ let
|
||||
inherit (flakelight.types) module;
|
||||
in
|
||||
{
|
||||
options.propagationModule = mkOption { type = module; };
|
||||
options.propagationModule = mkOption { type = module; internal = true; };
|
||||
|
||||
config.propagationModule =
|
||||
{ lib, pkgs, options, ... }:
|
||||
|
Reference in New Issue
Block a user