summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-07-29 14:22:24 +0200
committermakefu <github@syntax-fehler.de>2015-07-29 14:22:24 +0200
commit671710c573980d859cb82993cd0514058a63262f (patch)
treed854966a747cb9e68f87358a0b00cb80c245a04d /makefu/2configs
parent9381e5d28efa7d6a46a7c7d148ecb614f86080af (diff)
makefu: add new git user makefu-omo
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/cgit-retiolum.nix24
1 files changed, 17 insertions, 7 deletions
diff --git a/makefu/2configs/cgit-retiolum.nix b/makefu/2configs/cgit-retiolum.nix
index 777c16cfb..7dfb181c5 100644
--- a/makefu/2configs/cgit-retiolum.nix
+++ b/makefu/2configs/cgit-retiolum.nix
@@ -30,12 +30,13 @@ let
post-receive = git.irc-announce {
nick = config.networking.hostName;
channel = "#retiolum";
+ # TODO remove the hardcoded hostname
server = "cd.retiolum";
};
};
};
- set-owners = with git; repo: user:
+ set-owners = with git;repo: user:
singleton {
inherit user;
repo = [ repo ];
@@ -52,17 +53,26 @@ let
# TODO: get the list of all krebsministers
krebsminister = with config.krebs.users; [ lass tv uriel ];
- priv-rules = with config.krebs.users; repo:
- set-owners repo [ makefu ];
+ #all-makefu = with config.krebs.users; [ makefu ];
- krebs-rules = with config.krebs.users; repo:
- set-owners repo [ makefu ] ++ set-ro-access repo krebsminister ;
+
+ all-makefu = with config.krebs.users; [ makefu makefu-omo ];
+
+ priv-rules = repo: set-owners repo all-makefu;
+
+ krebs-rules = repo:
+ set-owners repo all-makefu ++ set-ro-access repo krebsminister;
in {
- imports = [ ../../3modules/krebs/git.nix ];
+ imports = [{
+ krebs.users.makefu-omo = {
+ name = "makefu-omo" ;
+ pubkey= with builtins; readFile ../../Zpubkeys/makefu_omo.ssh.pub;
+ };
+ }];
krebs.git = {
enable = true;
- root-title = "public repositories ";
+ root-title = "public repositories";
root-desc = "keep on krebsing";
inherit repos rules;
};