moving BT options to own module + tweak to settings
This commit is contained in:
parent
3e8a627ba5
commit
dbaff0ff22
2 changed files with 19 additions and 21 deletions
18
core/bluetooth.nix
Normal file
18
core/bluetooth.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
services.blueman.enable = true; # enables blueman
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true; # Enables bluetooth
|
||||
powerOnBoot = true; # Turns the bluetooth adapter on at boot
|
||||
input.General = { UserspaceHID = true; }; # fix bluetooth keyboard input
|
||||
settings.General = {
|
||||
Experimental = true; # Displays battery charge of connected devices
|
||||
FastConnectable = true; # Uses more power, but hades is a desktop
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue