1
0
mirror of https://github.com/tboerger/nixos-config synced 2026-03-25 21:31:49 +01:00
github.com-tboerger-nixos-c.../profiles/shared/programs/jq.nix
2026-02-26 14:26:50 +01:00

33 lines
347 B
Nix

{
pkgs,
lib,
config,
options,
...
}:
with lib;
let
cfg = config.profile.programs.jq;
in
{
options = {
profile = {
programs = {
jq = {
enable = mkEnableOption "Jq";
};
};
};
};
config = mkIf cfg.enable {
home = {
packages = with pkgs; [
jq
];
};
};
}