mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
29
modules/nixos/hardware/bluetooth/default.nix
Executable file
29
modules/nixos/hardware/bluetooth/default.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue