mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 05:02:10 -08:00
refactor: remove unnecessary pipewire enable = false
This commit is contained in:
parent
5ea2421cb1
commit
7a661a9ee8
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue