marleyos/modules/home/programs/ncmpcpp/default.nix
2024-11-16 19:38:57 -08:00

19 lines
284 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.ncmpcpp;
in
{
options = mkEnableModule "programs.ncmpcpp";
config = mkIf cfg.enable {
programs.ncmpcpp.enable = true;
};
}