summaryrefslogtreecommitdiff
path: root/nix/modules/cgit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/cgit.nix')
-rw-r--r--nix/modules/cgit.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/modules/cgit.nix b/nix/modules/cgit.nix
index 54eb90c..eb0cc63 100644
--- a/nix/modules/cgit.nix
+++ b/nix/modules/cgit.nix
@@ -1,8 +1,8 @@
{ lib, config, ... }:
{
services.cgit."my-projects" = {
- enable = true;
- scanPath = "/srv/git";
+ enable = lib.mkDefault config.monorepo.profiles.server.enable;
+ scanPath = "${config.users.users.git.home}";
settings = {
root-title = "Nullring Git Server";
root-desc = "Projects and cool things";