feat(skadi): setup bluetooth.
This commit is contained in:
parent
df258c3d19
commit
af68ab80e0
2 changed files with 14 additions and 6 deletions
|
|
@ -307,6 +307,7 @@
|
|||
crony.boot.enable = true;
|
||||
# crony.ollama.enable = true;
|
||||
crony.sunshine.enable = true;
|
||||
crony.bluetooth.enable = true;
|
||||
|
||||
# Mount additional drive for games
|
||||
fileSystems."/mnt/games" = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Enable bluetooth
|
||||
|
|
@ -9,13 +10,19 @@
|
|||
};
|
||||
|
||||
config = lib.mkIf config.crony.bluetooth.enable {
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
package = pkgs.bluez-experimental;
|
||||
|
||||
hardware.bluetooth.settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
Experimental = true;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = true;
|
||||
FastConnectable = true;
|
||||
};
|
||||
Policy = {
|
||||
AutoEnable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue