refactor(fuchsia): reorganize audio and bluetooth configuration

Separated PipeWire audio configuration from bluetooth hardware settings for
better logical organization. Moved bluetooth config to hardware-configuration.nix
alongside kernel module workarounds (disable_ertm, iwlwifi power_save).

Also added documentation for permittedInsecurePackages in global config and
updated flake dependencies.
This commit is contained in:
♥ Minnie ♥ 2025-11-12 14:40:49 +08:00
parent 9a26436dec
commit c1d4fa5255
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
6 changed files with 55 additions and 33 deletions

View file

@ -29,6 +29,14 @@
# The set of kernel modules to be loaded in the second stage of the boot process.
kernelModules = ["i2c-dev" "i2c-piix4"];
# Hardware-specific kernel module workarounds
extraModprobeConfig = ''
# Disable Bluetooth Enhanced Retransmission Mode to fix connectivity issues
options bluetooth disable_ertm=1
# Disable WiFi power saving to prevent connection drops
options iwlwifi power_save=0
'';
# Our boot loader configuration
loader = {
efi = {
@ -47,6 +55,14 @@
bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
ControllerMode = "dual";
FastConnectable = true;
Experimental = true;
MultiProfile = "multiple";
};
};
};
graphics = {
enable = true;