mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
[sound] replace pulse with pipewire emulation
This commit is contained in:
parent
67d5ee8c48
commit
799d32384f
2 changed files with 18 additions and 6 deletions
|
@ -10,10 +10,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hardware.pulseaudio = {
|
#hardware.pulseaudio = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
# extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||||
package = pkgs.pulseaudioFull;
|
# package = pkgs.pulseaudioFull;
|
||||||
};
|
#};
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,22 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
#hardware.pulseaudio.enable = true;
|
||||||
|
|
||||||
|
hardware.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
#jack.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
noisetorch
|
noisetorch
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
|
pulseaudio # provide pactl to enable keyboard shortcuts
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue