nix-config/modules/home-manager/cli/bluetuith.nix

42 lines
656 B
Nix
Raw Normal View History

2025-02-21 09:58:14 +00:00
{
config,
lib,
pkgs,
...
}:
with lib;
2025-04-05 09:00:00 +01:00
let
cfg = config.homeManagerModules.cli.bluetuith;
in
{
options.homeManagerModules.cli.bluetuith.enable = mkEnableOption "Enable bluetuith";
2025-02-21 09:58:14 +00:00
config = mkIf cfg.enable {
home.packages = with pkgs; [
bluetuith
];
2025-02-21 09:58:14 +00:00
xdg.configFile."bluetuith/bluetuith.conf" = {
text = ''
{
adapter: ""
adapter-states: ""
connect-bdaddr: ""
gsm-apn: ""
gsm-number: ""
2025-04-05 09:00:00 +01:00
2025-02-21 09:58:14 +00:00
keybindings: {
NavigateDown: j
NavigateUp: k
}
2025-04-05 09:00:00 +01:00
2025-02-21 09:58:14 +00:00
receive-dir: ""
theme: {}
}
'';
};
};
}