Enable bluetooth audio
This commit is contained in:
parent
2e5e08b7c7
commit
3e2f087125
19
desktop.nix
19
desktop.nix
@ -37,7 +37,24 @@ in {
|
||||
hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
|
||||
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
|
||||
# > bluetooth audio
|
||||
services.blueman.enable = true;
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
extraConfig = "
|
||||
[General]
|
||||
Enable=Source,Sink,Media,Socket
|
||||
";
|
||||
};
|
||||
|
||||
hardware.pulseaudio = {
|
||||
enable = true;
|
||||
package = pkgs.pulseaudioFull;
|
||||
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||
};
|
||||
# < bluetooth audio
|
||||
|
||||
environment.variables = {
|
||||
GDK_SCALE = "2";
|
||||
|
Loading…
Reference in New Issue
Block a user