home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the top-level directory.
This commit is contained in:
parent
c856933803
commit
65a8f7c481
119 changed files with 2 additions and 2 deletions
22
modules/home/jq/default.nix
Normal file
22
modules/home/jq/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.home.jq;
|
||||
in
|
||||
{
|
||||
options.my.home.jq = with lib; {
|
||||
enable = my.mkDisableOption "jq configuration";
|
||||
};
|
||||
|
||||
config.programs.jq = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
colors = {
|
||||
null = "1;30";
|
||||
false = "0;37";
|
||||
true = "0;37";
|
||||
numbers = "0;37";
|
||||
strings = "0;32";
|
||||
arrays = "1;39";
|
||||
objects = "1;39";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue