summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/cgit-retiolum.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-07-29 11:56:31 +0200
committermakefu <github@syntax-fehler.de>2015-07-29 11:56:31 +0200
commit9381e5d28efa7d6a46a7c7d148ecb614f86080af (patch)
tree4d0c180f16d4cb8a64797048ed0361b4dac7ecc1 /makefu/2configs/cgit-retiolum.nix
parent9575e56d6980cd9770befce5605eabd290ca5dbb (diff)
parent82991c7c80dcf69c15fb5235afeb23455940311f (diff)
Update to nix-only build and user-toplevel
pnp now contains information about the target
Diffstat (limited to 'makefu/2configs/cgit-retiolum.nix')
-rw-r--r--makefu/2configs/cgit-retiolum.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/makefu/2configs/cgit-retiolum.nix b/makefu/2configs/cgit-retiolum.nix
index e10769335..777c16cfb 100644
--- a/makefu/2configs/cgit-retiolum.nix
+++ b/makefu/2configs/cgit-retiolum.nix
@@ -1,17 +1,8 @@
{ config, lib, pkgs, ... }:
# TODO: remove tv lib :)
-with import ../../tv/4lib/{ inherit lib pkgs; };
+with import ../../tv/4lib { inherit lib pkgs; };
let
- out = {
- imports = [ ];
- 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;
+ };
+}