Generate flake.nix from module options. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic nix inputs

Add support for `submodules` input attribute (#40)

* Add support for `submodules` input attribute

* Update modules/options/inputs.nix

authored by

Alexey Lebedeff and committed by
GitHub
c8fe40c4 49560458

+6
+1
dev/modules/_lib/default.nix
··· 52 52 mergeNonEmptyAttrs input { 53 53 url = { }; 54 54 type = { }; 55 + submodules = { }; 55 56 owner = { }; 56 57 repo = { }; 57 58 path = { };
+5
modules/options/inputs.nix
··· 47 47 ] 48 48 ); 49 49 }; 50 + submodules = lib.mkOption { 51 + description = "Whether to checkout git submodules"; 52 + default = null; 53 + type = lib.types.nullOr lib.types.bool; 54 + }; 50 55 owner = lib.mkOption { 51 56 description = "owner of the repository"; 52 57 default = "";