mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
29 lines
493 B
Nix
Executable file
29 lines
493 B
Nix
Executable file
{
|
|
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;
|
|
}
|