Replace pulseaudio with pipewire

This commit is contained in:
jalr 2021-10-26 22:05:00 +02:00
parent ce60ab10a4
commit ffb17be89e
2 changed files with 27 additions and 1 deletions

View file

@ -14,7 +14,7 @@
../../fish.nix
../../autologin.nix
../../obs.nix
../../pulseaudio.nix
../../pipewire.nix
];
hardware.cpu.intel.updateMicrocode = true;

26
pipewire.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
{
services.pipewire = {
enable = true;
pulse = {
enable = true;
};
jack = {
enable = true;
};
alsa = {
enable = true;
support32Bit = true;
};
};
environment.systemPackages = with pkgs; [
pavucontrol
pulseaudio # pacmd and pactl
];
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-wlr];
};
}