{...}: { config.flake.modules.homeManager.headphones = { lib, config, pkgs, ... }: { options.azos.headphones-whmx4000.enable = lib.mkOption { default = true; type = lib.types.bool; }; config = lib.mkIf config.azos.headphones-whmx4000.enable { home.packages = [ (pkgs.writeShellScriptBin "azos-connect-headphones-whmx4000" "echo \"connect AC:80:0A:AF:E1:C2\" | bluetoothctl") ]; }; }; }