Add bluetooth support

This commit is contained in:
Pierre Martin
2019-02-27 19:57:45 +01:00
parent 8c4a3ff1e5
commit 6c5db89ee4
2 changed files with 12 additions and 1 deletions

View File

@@ -27,6 +27,8 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Gnome is forcing us to use networkManager https://nixos.org/nixos/manual/index.html#sec-networkmanager
hardware.bluetooth.enable = true;
hardware.trackpoint.enable = true;
hardware.trackpoint.emulateWheel = true;
hardware.trackpoint.speed = 250;
@@ -50,6 +52,7 @@
docker
firefox
unbound
blueman
];
# Specific configuration
@@ -89,7 +92,14 @@ local-data: "test. 10800 IN A 172.10.0.10"
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio = {
enable = true;
# NixOS allows either a lightweight build (default) or full build of PulseAudio to be installed.
# Only the full build has Bluetooth support, so it must be selected here.
package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
};
# Enable the X11 windowing system.
services.xserver.enable = true;