home: jq: make it enable-able
This commit is contained in:
parent
4678164d74
commit
405a1f3afe
11
home/jq.nix
11
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;
|
enable = true;
|
||||||
colors = {
|
colors = {
|
||||||
null = "1;30";
|
null = "1;30";
|
||||||
|
|
Loading…
Reference in a new issue