mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 13:59:24 -06:00
30 lines
493 B
Nix
30 lines
493 B
Nix
|
|
{
|
||
|
|
pkgs,
|
||
|
|
config,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
let
|
||
|
|
|
||
|
|
hyprland = config.programs.hyprland.enable;
|
||
|
|
niri = config.programs.niri.enable;
|
||
|
|
in
|
||
|
|
{
|
||
|
|
hardware = {
|
||
|
|
bluetooth = {
|
||
|
|
enable = true;
|
||
|
|
package = pkgs.bluez;
|
||
|
|
powerOnBoot = true;
|
||
|
|
settings = {
|
||
|
|
General = {
|
||
|
|
Experimental = true;
|
||
|
|
Disable = "Headset";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
disabledPlugins = [
|
||
|
|
"sap"
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
services.blueman.enable = if hyprland || niri == true then true else false;
|
||
|
|
}
|