ops/nixos: pipewire for everyone

This commit is contained in:
Luke Granger-Brown 2022-01-08 21:41:30 +00:00
parent 4b2c0f7fa8
commit f463055acf
2 changed files with 10 additions and 13 deletions

View file

@ -21,7 +21,16 @@ in
services.pcscd.enable = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
pulse.enable = true;
media-session.enable = true;
};
security.rtkit.enable = true;
services.dbus.packages = [ depot.nix.pkgs.flameshot ];

View file

@ -187,18 +187,6 @@ in {
hardware.acpilight.enable = true;
hardware.bluetooth.enable = true;
# TODO(lukegb): finish evaluating pipewire
hardware.pulseaudio.enable = lib.mkForce false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
pulse.enable = true;
media-session.enable = true;
};
# Define a user account.
users.users.lukegb = {
extraGroups = [ "wheel" "networkmanager" "libvirtd" "lxd" "video" ];