a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
16 lines
364 B
Nix
16 lines
364 B
Nix
{ lib, config, pkgs, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.programs.bash.blesh;
|
|
in {
|
|
options = {
|
|
programs.bash.blesh.enable = mkEnableOption (mdDoc "blesh");
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.bash.interactiveShellInit = mkBefore ''
|
|
source ${pkgs.blesh}/share/blesh/ble.sh
|
|
'';
|
|
};
|
|
meta.maintainers = with maintainers; [ laalsaas ];
|
|
}
|