feat(home): Install jq
This commit is contained in:
parent
bc921ec108
commit
87753fa69f
2 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,7 @@ in {
|
|||
gpg = enabled;
|
||||
hyfetch = enabled;
|
||||
journalctl = enabled;
|
||||
jq = enabled;
|
||||
just = enabled;
|
||||
less = enabled;
|
||||
man = enabled;
|
||||
|
|
15
modules/home/programs/cli/jq/default.nix
Normal file
15
modules/home/programs/cli/jq/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.jq;
|
||||
in {
|
||||
options.marleyos.programs.jq.enable = lib.mkEnableOption "jq";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.jq = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue