From 7a661a9ee811900a76101d508019ed8d777566d9 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 5 Jan 2025 03:58:27 -0800 Subject: [PATCH] refactor: remove unnecessary pipewire enable = false --- modules/linux/audio/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/linux/audio/default.nix b/modules/linux/audio/default.nix index b846d21..a2c6f0b 100755 --- a/modules/linux/audio/default.nix +++ b/modules/linux/audio/default.nix @@ -11,10 +11,9 @@ in ''; }; - config = { - services.playerctld.enable = lib.mkIf cfg.enable true; - services.pulseaudio.enable = lib.mkIf cfg.enable false; - services.pipewire = lib.mkIf cfg.enable { + config = lib.mkIf cfg.enable { + services.playerctld.enable = true; + services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true;