pipewire: Replace pulseaudio
Required to make sound work on cranberry.
This commit is contained in:
parent
91df3670f6
commit
498357fffc
2 changed files with 18 additions and 9 deletions
|
@ -2,10 +2,21 @@
|
|||
{
|
||||
config = lib.mkIf config.frogeye.desktop.xorg {
|
||||
boot.kernelModules = [ "i2c-dev" ]; # Allows using ddcutil
|
||||
security.rtkit.enable = true; # Recommended for pipewire
|
||||
services = {
|
||||
blueman.enable = true;
|
||||
displayManager.defaultSession = "none+i3";
|
||||
udev.packages = with pkgs; [ ddcutil ]; # TODO Doesn't seem to help
|
||||
# Audio
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true; # Required for a lot of apps, probably
|
||||
};
|
||||
# Video
|
||||
xserver = {
|
||||
enable = true;
|
||||
windowManager.i3.enable = true;
|
||||
|
@ -34,15 +45,11 @@
|
|||
layout = "qwerty-fr";
|
||||
};
|
||||
};
|
||||
# Disco
|
||||
};
|
||||
|
||||
# Enable sound & bluetooth
|
||||
sound.enable = true;
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
pulseaudio.enable = true;
|
||||
# TODO Try pipewire
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
# So we can use gnome3 pinentry flavour
|
||||
services.dbus.packages = [ pkgs.gcr ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue