refactor: remove unnecessary pipewire enable = false

This commit is contained in:
Youwen Wu 2025-01-05 03:58:27 -08:00
parent 5ea2421cb1
commit 7a661a9ee8
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -11,10 +11,9 @@ in
''; '';
}; };
config = { config = lib.mkIf cfg.enable {
services.playerctld.enable = lib.mkIf cfg.enable true; services.playerctld.enable = true;
services.pulseaudio.enable = lib.mkIf cfg.enable false; services.pipewire = {
services.pipewire = lib.mkIf cfg.enable {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;