This commit is contained in:
GTrunSec 2022-04-02 12:40:35 -07:00
parent a0ce293db8
commit 60592d3096
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
55 changed files with 23668 additions and 30925 deletions

View file

@ -1,8 +1,10 @@
{ config, lib, ... }:
with lib;
{
imports = [ ./base.nix ];
config,
lib,
...
}:
with lib; {
imports = [./base.nix];
options.submodule = {
name = mkOption {
@ -25,24 +27,24 @@ with lib;
tags = mkOption {
description = "List of submodule tags";
type = types.listOf types.str;
default = [ ];
default = [];
};
exports = mkOption {
description = "Attribute set of functions to export";
type = types.attrs;
default = { };
default = {};
};
passthru = mkOption {
description = "Attribute set to passthru";
type = types.attrs;
default = { };
default = {};
};
args._empty = mkOption { };
args._empty = mkOption {};
};
config._module.args.args = config.submodule.args;
config._m.features = [ "submodule" ];
config._m.features = ["submodule"];
}