summaryrefslogtreecommitdiffstats
path: root/modules/uriel/repos.nix
blob: e31ba948134259f3d130234448976dce146e920a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{ ... }:

{
  imports = [
    ../lass/gitolite-base.nix
    ../common/krebs-keys.nix
    ../common/krebs-repos.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";
      };

      brain = {
        users = {
          lass = "RW+";
        };
        extraConfig = "option hook.post-receive = irc-announce";
        #hooks.post-receive = irc-announce;
      };

      painload = {
        users = {
          lass = "RW+";
        };
        extraConfig = "option hook.post-receive = irc-announce";
      };

      services = {
        users = {
          lass = "RW+";
        };
        extraConfig = "option hook.post-receive = irc-announce";
      };

      xmonad-config = {
        users = {
          lass = "RW+";
          uriel = "R";
        };
      };

    };
  };
}