summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/git.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-06-07 23:23:06 +0200
committertv <tv@krebsco.de>2016-06-07 23:23:06 +0200
commit567800c98e7f17ead15aa99f388d4a91c2f58653 (patch)
treeb99e2465ce3e0a227e0342f87de9ef38ac57f26e /krebs/3modules/git.nix
parent5e91e789b66350302b3a5f90843d4a10f4fd2c75 (diff)
krebs.git.cgit.settings.virtual-root: init
Diffstat (limited to 'krebs/3modules/git.nix')
-rw-r--r--krebs/3modules/git.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix
index 357674a6a..4fec38579 100644
--- a/krebs/3modules/git.nix
+++ b/krebs/3modules/git.nix
@@ -174,6 +174,10 @@ let
type = types.nullOr types.str;
default = null;
};
+ virtual-root = mkOption {
+ type = types.nullOr types.absolute-pathname;
+ default = "/";
+ };
};
};
repo = types.submodule ({ config, ... }: {