summaryrefslogtreecommitdiffstats
path: root/shared/2configs/cgit-mirror.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-02-04 14:36:48 +0100
committermakefu <github@syntax-fehler.de>2016-02-04 14:36:48 +0100
commit8e231e4e8daa7323c2ff14b9baec5ccdfe5321c8 (patch)
treed69167290265d97136056f0ff0bb6d6665759909 /shared/2configs/cgit-mirror.nix
parent77b93386621ec84de1bcb278e15a00e85ad2800e (diff)
s 2 base: new paths, cosmetics
Diffstat (limited to 'shared/2configs/cgit-mirror.nix')
-rw-r--r--shared/2configs/cgit-mirror.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/shared/2configs/cgit-mirror.nix b/shared/2configs/cgit-mirror.nix
index 5bcfc58..4ff1902 100644
--- a/shared/2configs/cgit-mirror.nix
+++ b/shared/2configs/cgit-mirror.nix
@@ -2,12 +2,11 @@
with lib;
let
- rules = with git;[{
- # user = git-sync;
- user = git-sync;
+ rules = with git; singleton {
+ user = [ git-sync ];
repo = [ stockholm-mirror ];
perm = push ''refs/*'' [ non-fast-forward create delete merge ];
- }];
+ };
stockholm-mirror = {
public = true;