summaryrefslogtreecommitdiffstats
path: root/shared/2configs/cgit-mirror.nix
diff options
context:
space:
mode:
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 5bcfc581..4ff1902f 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;