From b0a3abbd79b25fdd8ab27b162a3aa8a40e766bb5 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 31 Jul 2024 23:27:05 -0700 Subject: [PATCH] repo options --- repo.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/repo.nix b/repo.nix index f57106a..5074ef2 100644 --- a/repo.nix +++ b/repo.nix @@ -2,9 +2,22 @@ let inherit (lib) - types; + types mkOption; in types.attrsOf (types.submodule ({ ... }: { - options = { }; - config = { }; + options = { + url = mkOption { + type = types.str; + description = '' + Url of git repo to clone + ''; + }; + + extraArgs = mkOption { + type = types.str; + description = '' + Args to be used with the `git clone` command + ''; + }; + }; }))