1
1
Fork 0

pipewire: move hardware.pulseaudio to services

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-08 17:13:11 -06:00
parent df8d74d7ea
commit f38f84ea0c
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -9,13 +9,15 @@ in {
options.custom.services.pipewire.enable = mkOption {default = false;}; options.custom.services.pipewire.enable = mkOption {default = false;};
config = mkIf cfg.enable { config = mkIf cfg.enable {
# https://wiki.nixos.org/wiki/PipeWire
# https://gitlab.freedesktop.org/pipewire/pipewire
#!! Realtime priority may cause desync #!! Realtime priority may cause desync
#// security.rtkit.enable = true; #// security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = { services = {
pulseaudio.enable = false;
# https://wiki.nixos.org/wiki/PipeWire
# https://gitlab.freedesktop.org/pipewire/pipewire
pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
@ -36,4 +38,5 @@ in {
}; };
}; };
}; };
};
} }