Migrate JQ to use home-manager module

This commit is contained in:
Daniel Siepmann 2022-02-14 16:06:43 +01:00
parent 983fcb8b76
commit 0f1959978b
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 16 additions and 2 deletions

View file

@ -56,7 +56,6 @@
pkgs.tig
pkgs.universal-ctags
pkgs.silver-searcher
pkgs.jq
pkgs.curl
pkgs.wget
pkgs.yamllint
@ -95,6 +94,9 @@
tmux = import ./home/programs/tmux.nix {
inherit pkgs;
};
jq = import ./home/programs/jq.nix {
inherit config;
};
zsh = import ./home/programs/zsh.nix {
inherit config pkgs;
};

13
home/programs/jq.nix Normal file
View file

@ -0,0 +1,13 @@
{ config }:
{
enable = true;
colors = {
null = "1;35";
false = "0;35";
true = "0;35";
numbers = "0;32";
strings = "0;33";
arrays = "1;37";
objects = "1;37";
};
}

View file

@ -19,7 +19,6 @@
LESS = "-R -J -W -i -M";
LSCOLORS = "HxGxDxDxbxDxDxababcxcx";
LS_COLORS = "di=1;37:ln=1;36:so=1;33:pi=1;33:ex=31:bd=1;33:cd=1;33:su=30;41:sg=30;41:tw=32:ow=32 # I use this";
JQ_COLORS = "1;35:0;35:0;35:0;32:0;33:1;37:1;37";
GREP_COLOR = "0;30;44";
TYPO3_CONTEXT = "Development/dsiepmann";