diff --git a/home/jq.nix b/home/jq.nix index fd79aaa..d8bd59b 100644 --- a/home/jq.nix +++ b/home/jq.nix @@ -1,6 +1,13 @@ -{ ... }: +{ config, lib, ... }: +let + cfg = config.my.home.jq; +in { - programs.jq = { + options.my.home.jq = with lib.my; { + enable = mkDisableOption "jq configuration"; + }; + + config.programs.jq = lib.mkIf cfg.enable { enable = true; colors = { null = "1;30";