diff options
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; |