diff options
author | makefu <github@syntax-fehler.de> | 2015-07-28 20:21:34 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-07-28 20:21:34 +0200 |
commit | 0ed5a962f1d4c03f743e8d491a8c30860268821b (patch) | |
tree | ec351354bc5066dcb2fc5e2804a0cf8304515eb0 | |
parent | 3a7aed919e996cc7cec539f0e4aa03d51323767a (diff) |
cgit-retiolum: add personality
-rw-r--r-- | 2configs/makefu/cgit-retiolum.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/2configs/makefu/cgit-retiolum.nix b/2configs/makefu/cgit-retiolum.nix index 7b8e3bc..d0351a9 100644 --- a/2configs/makefu/cgit-retiolum.nix +++ b/2configs/makefu/cgit-retiolum.nix @@ -3,15 +3,6 @@ with import ../../4lib/tv { inherit lib pkgs; }; let - out = { - imports = [ ../../3modules/krebs/git.nix ]; - krebs.git = { - enable = true; - root-title = "public repositories "; - root-desc = "keep on krebsing"; - inherit repos rules; - }; - }; repos = priv-repos // krebs-repos ; rules = concatMap krebs-rules (attrValues krebs-repos) ++ concatMap priv-rules (attrValues priv-repos); @@ -67,4 +58,12 @@ let krebs-rules = with config.krebs.users; repo: set-owners repo [ makefu ] ++ set-ro-access repo krebsminister ; -in out +in { + imports = [ ../../3modules/krebs/git.nix ]; + krebs.git = { + enable = true; + root-title = "public repositories "; + root-desc = "keep on krebsing"; + inherit repos rules; + }; +} |