diff options
| author | tv <tv@krebsco.de> | 2015-06-19 01:55:07 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-06-19 01:55:07 +0200 |
| commit | 489bc98ee1634a46f16de2532d6e473c725ad460 (patch) | |
| tree | b35988a4e2fcd07e0d0f051eb761225b0b36146b /modules/tv/git/cgit.nix | |
| parent | 29266f92c9d7c6b9f98ecd801a744f85f73f0ebd (diff) | |
tv git: allow repo section naming
Diffstat (limited to 'modules/tv/git/cgit.nix')
| -rw-r--r-- | modules/tv/git/cgit.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tv/git/cgit.nix b/modules/tv/git/cgit.nix index edee199..7f58fcf 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))} ''; |
