diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-08-19 21:24:03 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-08-19 21:24:03 -0500 |
commit | 168eb276e6e16f377a8f5759d380f27d4b3d5b24 (patch) | |
tree | 03c8f8ccc91d2eed61ddfa6dd42ed02ada147faf /modules/root/cgit.nix | |
parent | 566a55a298252bcad37ff15d60bc4afe8cc094f6 (diff) | |
download | nixos-168eb276e6e16f377a8f5759d380f27d4b3d5b24.tar.xz nixos-168eb276e6e16f377a8f5759d380f27d4b3d5b24.zip |
add gitea service and fix a few things in cgit
Diffstat (limited to 'modules/root/cgit.nix')
-rw-r--r-- | modules/root/cgit.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; |