mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-16 18:00:30 +03:00
refactor: reorganize discoverer modules
This commit is contained in:
parent
11cde51ab4
commit
7f0fc889fe
3
src/modules/discoverers.default-discoverer/default.nix
Normal file
3
src/modules/discoverers.default-discoverer/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [./implementation.nix];
|
||||
}
|
@ -2,6 +2,5 @@
|
||||
imports = [
|
||||
./interface.nix
|
||||
./implementation.nix
|
||||
./default-discoverer.nix
|
||||
];
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ in {
|
||||
options = {
|
||||
discoverers = lib.mkOption {
|
||||
type = t.attrsOf (t.submoduleWith {
|
||||
modules = [./discoverer/default.nix];
|
||||
modules = [../interfaces.discoverer];
|
||||
inherit specialArgs;
|
||||
});
|
||||
description = ''
|
||||
|
@ -12,6 +12,7 @@ in {
|
||||
./translators
|
||||
./builders
|
||||
./discoverers
|
||||
./discoverers.default-discoverer
|
||||
];
|
||||
options = {
|
||||
lib = lib.mkOption {
|
||||
|
Loading…
Reference in New Issue
Block a user