2025-02-01 23:30:06 -06:00
|
|
|
{
|
|
|
|
pkgs,
|
2025-03-21 18:30:13 -05:00
|
|
|
config,
|
|
|
|
flake,
|
2025-02-01 23:30:06 -06:00
|
|
|
...
|
|
|
|
}:
|
2025-03-21 18:30:13 -05:00
|
|
|
let
|
|
|
|
inherit (flake.config.machines) devices;
|
|
|
|
hostname = config.networking.hostName;
|
|
|
|
in
|
2025-02-01 19:13:39 -06:00
|
|
|
{
|
2024-10-06 15:25:05 -05:00
|
|
|
hardware = {
|
|
|
|
bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.bluez;
|
|
|
|
powerOnBoot = true;
|
2025-02-01 19:13:39 -06:00
|
|
|
settings = {
|
|
|
|
General = {
|
|
|
|
Experimental = true;
|
2025-02-18 21:06:45 -06:00
|
|
|
Disable = "Headset";
|
2025-02-01 19:13:39 -06:00
|
|
|
};
|
|
|
|
};
|
2025-01-08 19:11:58 -06:00
|
|
|
disabledPlugins = [
|
|
|
|
"sap"
|
|
|
|
];
|
2024-10-06 15:25:05 -05:00
|
|
|
};
|
|
|
|
};
|
2025-03-21 18:30:13 -05:00
|
|
|
services.blueman.enable = if hostname == devices.deimos.name then false else true;
|
2024-10-06 15:25:05 -05:00
|
|
|
}
|