chore: add template for initializing new modules

This commit is contained in:
DavHau 2022-08-19 12:31:51 +02:00
parent 6d4f103b84
commit 71f29a7e09
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
imports = [
./implementation.nix
./interface.nix
];
}

View File

@ -0,0 +1,4 @@
{config, ...}: let
lib = config.lib;
in {
}

View File

@ -0,0 +1,10 @@
{config, ...}: let
lib = config.lib;
t = lib.types;
in {
options = {
= lib.mkOption {
type = t.;
};
};
}

View File

@ -4,4 +4,5 @@ includes = ["*.nix"]
excludes = [
"overrides/nodejs/electron/*",
"src/templates/translators/*",
"src/modules/_template/*",
]