# Hardware configuration { config, lib, pkgs, nomarchyConfig, ... }: { # Bluetooth hardware.bluetooth = lib.mkIf (nomarchyConfig.enableBluetooth or true) { enable = true; powerOnBoot = true; }; services.blueman.enable = nomarchyConfig.enableBluetooth or true; # Graphics - hardware acceleration hardware.graphics = { enable = true; enable32Bit = true; }; # Audio - PipeWire (modern audio stack) security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; # Bluetooth audio support environment.systemPackages = lib.mkIf (nomarchyConfig.enableBluetooth or true) (with pkgs; [ blueman bluez bluez-tools ]); }