Replace pulseaudio with pipewire
This commit is contained in:
parent
ce60ab10a4
commit
ffb17be89e
2 changed files with 27 additions and 1 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
../../fish.nix
|
../../fish.nix
|
||||||
../../autologin.nix
|
../../autologin.nix
|
||||||
../../obs.nix
|
../../obs.nix
|
||||||
../../pulseaudio.nix
|
../../pipewire.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|
|
||||||
26
pipewire.nix
Normal file
26
pipewire.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue