config/profiles/desktop/sound/pipewire.nix

26 lines
848 B
Nix
Raw Normal View History

2023-03-11 15:59:56 +01:00
{ pkgs, ... }:
2023-03-09 09:28:11 +01:00
{
2023-03-11 00:30:24 +01:00
hardware.pulseaudio.enable = false; # gnome defaults it to true
#sound.enable = true # alsa? likely conflicts with pipewire
#sound.mediaKeys.enable = true # alsa? only enable if headless
2023-03-09 09:28:11 +01:00
services.pipewire.enable = true;
services.pipewire.alsa.enable = true;
services.pipewire.alsa.support32Bit = true;
#services.pipewire.jack.enable = true;
services.pipewire.pulse.enable = true;
2024-09-13 18:25:22 +02:00
2023-03-09 09:28:11 +01:00
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#services.pipewire.media-session.enable = true;
2023-03-11 00:30:24 +01:00
2023-03-11 15:59:56 +01:00
environment.systemPackages = with pkgs; [
2024-03-13 23:35:32 +01:00
pavucontrol # volume and defaults
easyeffects # eq
helvum # patchbay
carla # VST (TODO: move into a DAW profile?)
2023-03-11 15:59:56 +01:00
];
2023-03-11 00:30:24 +01:00
security.rtkit.enable = true; # optional
2023-03-09 09:28:11 +01:00
}