diff options
author | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-03-26 16:30:25 -0400 |
---|---|---|
committer | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-03-26 16:41:57 -0400 |
commit | ff77d83327c280931d42562a18d3d4639d1d400b (patch) | |
tree | 079baae27fd56d858950b94954319b887fb5687a /nixos/modules/services/desktops | |
parent | f5b680b97cb89f4db4151d6b2f5ab4675de3c4b8 (diff) |
nixos/wireplumber: provide example for `services.pipewire.wireplumber.configPackages`
Diffstat (limited to 'nixos/modules/services/desktops')
-rw-r--r-- | nixos/modules/services/desktops/pipewire/wireplumber.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/pipewire/wireplumber.nix b/nixos/modules/services/desktops/pipewire/wireplumber.nix index ccb1b4523004..d5ad198d4b7e 100644 --- a/nixos/modules/services/desktops/pipewire/wireplumber.nix +++ b/nixos/modules/services/desktops/pipewire/wireplumber.nix @@ -36,6 +36,16 @@ in configPackages = mkOption { type = listOf package; default = [ ]; + example = literalExpression ''[ + (pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/10-bluez.conf" ''' + monitor.bluez.properties = { + bluez5.roles = [ a2dp_sink a2dp_source bap_sink bap_source hsp_hs hsp_ag hfp_hf hfp_ag ] + bluez5.codecs = [ sbc sbc_xq aac ] + bluez5.enable-sbc-xq = true + bluez5.hfphsp-backend = "native" + } + ''') + ]''; description = '' List of packages that provide WirePlumber configuration, in the form of `share/wireplumber/*/*.conf` files. |