add a bluetooth module
This commit is contained in:
parent
b1a83da4fc
commit
5233fb11f7
|
@ -8,6 +8,7 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
../../common/desktop.nix
|
||||
../bluetooth.nix
|
||||
./hardware-configuration.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;
|
||||
};
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
../../common/desktop.nix
|
||||
../bluetooth.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue