mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
29 lines
508 B
Nix
Executable file
29 lines
508 B
Nix
Executable file
{
|
|
pkgs,
|
|
config,
|
|
flake,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.config.machines) devices;
|
|
hostname = config.networking.hostName;
|
|
in
|
|
{
|
|
hardware = {
|
|
bluetooth = {
|
|
enable = true;
|
|
package = pkgs.bluez;
|
|
powerOnBoot = true;
|
|
settings = {
|
|
General = {
|
|
Experimental = true;
|
|
Disable = "Headset";
|
|
};
|
|
};
|
|
disabledPlugins = [
|
|
"sap"
|
|
];
|
|
};
|
|
};
|
|
services.blueman.enable = if hostname == devices.deimos.name then false else true;
|
|
}
|