From 81797b6a4ca4159d4b857294375e76aaa313fcd2 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 19 Jun 2015 01:55:07 +0200 Subject: tv git: allow repo section naming --- modules/tv/git/cgit.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/tv/git/cgit.nix') diff --git a/modules/tv/git/cgit.nix b/modules/tv/git/cgit.nix index edee19909..7f58fcf60 100644 --- a/modules/tv/git/cgit.nix +++ b/modules/tv/git/cgit.nix @@ -61,6 +61,7 @@ in ${concatMapStringsSep "\n" (repo: '' repo.url=${repo.name} repo.path=${cfg.dataDir}/${repo.name} + ${optionalString (repo.section != null) "repo.section=${repo.section}"} ${optionalString (repo.desc != null) "repo.desc=${repo.desc}"} '') (filter isPublicRepo (attrValues cfg.repos))} ''; -- cgit v1.2.3