home: put modules into folders

This commit is contained in:
Bruno BELANYI 2021-09-25 15:28:10 +02:00
parent 5b0e0bcbc2
commit dc5a44ce82
24 changed files with 23 additions and 23 deletions

22
home/jq/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
let
cfg = config.my.home.jq;
in
{
options.my.home.jq = with lib.my; {
enable = 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";
};
};
}