summaryrefslogtreecommitdiffstats
path: root/modules/uriel/repos.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-25 19:32:54 +0200
committerlassulus <lass@aidsballs.de>2015-05-25 19:32:54 +0200
commit67526d6c0849d9abc60c9a4cbee28e3a2dc707ce (patch)
tree5c29a048415e5612834dad2bce02f3323d41f9ad /modules/uriel/repos.nix
parent26a166c8c1a577cefe7884eaeea1541eb910aa87 (diff)
activate gitolite config
Diffstat (limited to 'modules/uriel/repos.nix')
-rw-r--r--modules/uriel/repos.nix75
1 files changed, 75 insertions, 0 deletions
diff --git a/modules/uriel/repos.nix b/modules/uriel/repos.nix
new file mode 100644
index 000000000..6d3cf2157
--- /dev/null
+++ b/modules/uriel/repos.nix
@@ -0,0 +1,75 @@
+{ ... }:
+
+{
+ imports = [
+ ../lass/gitolite-base.nix
+ ];
+
+ services.gitolite = {
+ repos = {
+
+ config = {
+ users = {
+ lass = "RW+";
+ uriel = "R";
+ tv = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ pass = {
+ users = {
+ lass = "RW+";
+ uriel = "R";
+ };
+ };
+
+ load-env = {
+ users = {
+ lass = "RW+";
+ uriel = "R";
+ tv = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ emse-hsdb = {
+ users = {
+ lass = "RW+";
+ uriel = "R";
+ tv = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ painload = {
+ users = {
+ lass = "RW+";
+ tv = "R";
+ makefu = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ brain = {
+ users = {
+ lass = "RW+";
+ tv = "R";
+ makefu = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ services = {
+ users = {
+ lass = "RW+";
+ tv = "R";
+ makefu = "R";
+ reaktor = "R";
+ };
+ extraConfig = "option hook.post-receive = irc-announce";
+ };
+
+ };
+ };
+}