15 lines
318 B
Nix
15 lines
318 B
Nix
|
{ options, config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
with lib.plusultra;
|
||
|
let
|
||
|
cfg = config.plusultra.apps.hey;
|
||
|
in
|
||
|
{
|
||
|
options.plusultra.apps.hey = with types; {
|
||
|
enable = mkBoolOpt false "Whether or not to enable HEY.";
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable { environment.systemPackages = with pkgs.plusultra; [ hey ]; };
|
||
|
}
|