diff --git a/hardware/asus/configuration.nix b/hardware/asus/configuration.nix index 7710b6b..9a004e6 100644 --- a/hardware/asus/configuration.nix +++ b/hardware/asus/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ../../common/desktop.nix + ../bluetooth.nix ./hardware-configuration.nix ]; diff --git a/hardware/blueooth.nix b/hardware/blueooth.nix new file mode 100644 index 0000000..b674b64 --- /dev/null +++ b/hardware/blueooth.nix @@ -0,0 +1,23 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ config, pkgs, ... }: + +{ + # Blueooth support in general + hardware.bluetooth = { + enable = true; + powerOnBoot = false; + }; + + # Blueman applet + services.blueman.enable = true; + + # aptx/LDAC support + hardware.pulseaudio = { + extraModules = [ pkgs.pulseaudio-modules-bt ]; + package = pkgs.pulseaudioFull; + }; +} + diff --git a/hardware/xps5530/configuration.nix b/hardware/xps5530/configuration.nix index 2e01078..33908ae 100644 --- a/hardware/xps5530/configuration.nix +++ b/hardware/xps5530/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ../../common/desktop.nix + ../bluetooth.nix ./hardware-configuration.nix ];