feat(pipewire): set up pipewire for screensharing and audio
This commit is contained in:
parent
be1069f5b9
commit
dbef62498e
2 changed files with 28 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
|
./pipewire.nix
|
||||||
inputs.nix-index-database.nixosModules.nix-index
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
27
systems/modules/pipewire.nix
Normal file
27
systems/modules/pipewire.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = { };
|
||||||
|
jack.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
alsa = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit = true;
|
||||||
|
};
|
||||||
|
# wwireplumber is enabled by default
|
||||||
|
wireplumber.extraConfig.bluetoothEnhancements = {
|
||||||
|
"monitor.bluez.properties" = {
|
||||||
|
"bluez5.enable-sbc-xq" = true;
|
||||||
|
"bluez5.enable-msbc" = true;
|
||||||
|
"bluez5.enable-hw-volume" = true;
|
||||||
|
"bluez5.roles" = [
|
||||||
|
"hsp_hs"
|
||||||
|
"hsp_ag"
|
||||||
|
"hfp_hf"
|
||||||
|
"hfp_ag"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue