diff options
author | lassulus <lass@lassul.us> | 2017-03-16 15:09:39 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-03-16 15:09:39 +0100 |
commit | 839ffcd0ae307e514e72729701410f679874ab5b (patch) | |
tree | 72e3dfe2a14e1fce43ac70b3d12069d25eb37a8f /lass | |
parent | 22daf39ce8a48d960019ca11bf1616883a104373 (diff) |
l 2: add sections for cgit
Diffstat (limited to 'lass')
-rw-r--r-- | lass/2configs/git.nix | 7 | ||||
-rw-r--r-- | lass/2configs/repo-sync.nix | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lass/2configs/git.nix b/lass/2configs/git.nix index 710eb9461..be08d0ec1 100644 --- a/lass/2configs/git.nix +++ b/lass/2configs/git.nix @@ -32,10 +32,13 @@ let public-repos = mapAttrs make-public-repo { stockholm = { cgit.desc = "take all the computers hostage, they'll love you!"; + cgit.section = "configuration"; }; - kimsufi-check = {}; } // mapAttrs make-public-repo-silent { - the_playlist = {}; + the_playlist = { + cgit.desc = "Good Music collection + tools"; + cgit.section = "art"; + }; }; restricted-repos = mapAttrs make-restricted-repo ( diff --git a/lass/2configs/repo-sync.nix b/lass/2configs/repo-sync.nix index dfea637ed..74e508549 100644 --- a/lass/2configs/repo-sync.nix +++ b/lass/2configs/repo-sync.nix @@ -10,6 +10,7 @@ let public = true; name = mkDefault "${name}"; cgit.desc = mkDefault "mirror for ${name}"; + cgit.section = mkDefault "mirror"; hooks = mkIf announce (mkDefault { post-receive = pkgs.git-hooks.irc-announce { nick = config.networking.hostName; |