Extract a bluetooth mixin

This commit is contained in:
Oliver Davies 2025-04-05 09:00:00 +01:00
parent a5d93cc616
commit a4cacfd4de
7 changed files with 12 additions and 24 deletions

View file

@ -1,36 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
{
options.homeManagerModules.bluetuith.enable = mkEnableOption "Enable bluetuith";
config = mkIf config.homeManagerModules.bluetuith.enable {
home.packages = with pkgs; [
bluetuith
];
xdg.configFile."bluetuith/bluetuith.conf" = {
text = ''
{
adapter: ""
adapter-states: ""
connect-bdaddr: ""
gsm-apn: ""
gsm-number: ""
keybindings: {
NavigateDown: j
NavigateUp: k
}
receive-dir: ""
theme: {}
}
'';
};
};
}

View file

@ -3,7 +3,6 @@
{
imports = [
./bin
./bluetuith.nix
./direnv.nix
./fzf.nix
./git.nix