snowhawk: bluetooth audio

main
Zynh Ludwig 2024-09-03 00:29:38 -07:00
parent 4eeee42a9d
commit 045bc68fe2
2 changed files with 3 additions and 1 deletions

View File

@ -103,6 +103,7 @@
package = config.boot.kernelPackages.nvidiaPackages.beta;
};
hardware.bluetooth.enable = true;
swapDevices = [ ];

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, pkgs, ... }:
let
cfg = config.snowhawk.audio;
@ -11,6 +11,7 @@ in
config = lib.mkIf cfg.enable {
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ];
security.rtkit.enable = true;
services.pipewire = {
enable = true;