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 = [
|
imports = [
|
||||||
./interface.nix
|
./interface.nix
|
||||||
./implementation.nix
|
./implementation.nix
|
||||||
./default-discoverer.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
discoverers = lib.mkOption {
|
discoverers = lib.mkOption {
|
||||||
type = t.attrsOf (t.submoduleWith {
|
type = t.attrsOf (t.submoduleWith {
|
||||||
modules = [./discoverer/default.nix];
|
modules = [../interfaces.discoverer];
|
||||||
inherit specialArgs;
|
inherit specialArgs;
|
||||||
});
|
});
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -12,6 +12,7 @@ in {
|
|||||||
./translators
|
./translators
|
||||||
./builders
|
./builders
|
||||||
./discoverers
|
./discoverers
|
||||||
|
./discoverers.default-discoverer
|
||||||
];
|
];
|
||||||
options = {
|
options = {
|
||||||
lib = lib.mkOption {
|
lib = lib.mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user