summaryrefslogtreecommitdiffstats
path: root/modules/uriel/repos.nix
diff options
context:
space:
mode:
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";
+ };
+
+ };
+ };
+}