Migrate JQ to use home-manager module
This commit is contained in:
parent
983fcb8b76
commit
0f1959978b
4
home.nix
4
home.nix
|
@ -56,7 +56,6 @@
|
||||||
pkgs.tig
|
pkgs.tig
|
||||||
pkgs.universal-ctags
|
pkgs.universal-ctags
|
||||||
pkgs.silver-searcher
|
pkgs.silver-searcher
|
||||||
pkgs.jq
|
|
||||||
pkgs.curl
|
pkgs.curl
|
||||||
pkgs.wget
|
pkgs.wget
|
||||||
pkgs.yamllint
|
pkgs.yamllint
|
||||||
|
@ -95,6 +94,9 @@
|
||||||
tmux = import ./home/programs/tmux.nix {
|
tmux = import ./home/programs/tmux.nix {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
jq = import ./home/programs/jq.nix {
|
||||||
|
inherit config;
|
||||||
|
};
|
||||||
zsh = import ./home/programs/zsh.nix {
|
zsh = import ./home/programs/zsh.nix {
|
||||||
inherit config pkgs;
|
inherit config pkgs;
|
||||||
};
|
};
|
||||||
|
|
13
home/programs/jq.nix
Normal file
13
home/programs/jq.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -19,7 +19,6 @@
|
||||||
LESS = "-R -J -W -i -M";
|
LESS = "-R -J -W -i -M";
|
||||||
LSCOLORS = "HxGxDxDxbxDxDxababcxcx";
|
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";
|
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";
|
GREP_COLOR = "0;30;44";
|
||||||
|
|
||||||
TYPO3_CONTEXT = "Development/dsiepmann";
|
TYPO3_CONTEXT = "Development/dsiepmann";
|
||||||
|
|
Loading…
Reference in a new issue