From 168eb276e6e16f377a8f5759d380f27d4b3d5b24 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Tue, 19 Aug 2025 21:24:03 -0500 Subject: add gitea service and fix a few things in cgit --- modules/root/cgit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/root/cgit.nix') diff --git a/modules/root/cgit.nix b/modules/root/cgit.nix index f3814cd..366c1f8 100644 --- a/modules/root/cgit.nix +++ b/modules/root/cgit.nix @@ -1,7 +1,7 @@ { lib, pkgs, config, userDetails, ... }: let cfg = config.cgit; -in{ +in { options = { cgit = { enable = lib.mkEnableOption "enables cgit service"; @@ -33,7 +33,7 @@ in{ }; }; - config = lib.mkIf config.cgit.enable { + config = lib.mkIf cfg.enable { # Configure cgit container containers.cgit = { autoStart = true; -- cgit v1.2.3