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
commit5be8920fb0262ff703f23ef484c59f4b55a9b015 (patch)
treee51d2936cae27a42d0fd31df7a5e20d56d06e4d0 /shared/2configs/cgit-mirror.nix
parente402c8ce1d2786abafc1efdc64adca84d174a756 (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 5bcfc5818..4ff1902f9 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;