nixos/extra/bluetooth-audio.nix

20 lines
409 B
Nix
Raw Normal View History

2020-11-16 21:14:46 +01:00
{ config, lib, pkgs, ... }:
let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in
2020-11-16 21:14:46 +01:00
{
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
2021-06-02 10:37:28 +02:00
settings = {
2020-11-16 21:14:46 +01:00
General = {
Enable = "Source,Sink,Media,Socket";
};
};
};
services.blueman.enable = true;
environment.systemPackages = with pkgs; [
unstable.sony-headphones-client
];
2020-11-16 21:14:46 +01:00
}