feat(skadi): setup bluetooth.

This commit is contained in:
CronyAkatsuki 2025-12-16 21:30:43 +01:00
parent df258c3d19
commit af68ab80e0
2 changed files with 14 additions and 6 deletions

View file

@ -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" = {

View file

@ -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;
};
};
};