blob: 8e857501da02f52c218ea3a06ef7590b3609f348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ options, config, lib, pkgs, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.apps.killall;
in {
options.${namespace}.apps.jq = with types; {
enable = mkEnableOption "jq";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
jq
];
};
}
|