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.boot.enable = true;
# crony.ollama.enable = true; # crony.ollama.enable = true;
crony.sunshine.enable = true; crony.sunshine.enable = true;
crony.bluetooth.enable = true;
# Mount additional drive for games # Mount additional drive for games
fileSystems."/mnt/games" = { fileSystems."/mnt/games" = {

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: { }: {
# Enable bluetooth # Enable bluetooth
@ -9,13 +10,19 @@
}; };
config = lib.mkIf config.crony.bluetooth.enable { config = lib.mkIf config.crony.bluetooth.enable {
hardware.bluetooth.enable = true; hardware.bluetooth = {
hardware.bluetooth.powerOnBoot = true; enable = true;
powerOnBoot = true;
package = pkgs.bluez-experimental;
hardware.bluetooth.settings = { settings = {
General = { General = {
Enable = "Source,Sink,Media,Socket"; Experimental = true;
Experimental = true; FastConnectable = true;
};
Policy = {
AutoEnable = true;
};
}; };
}; };