{ lib, config, ... }: { options = { pipewire.enable = lib.mkEnableOption "enables pipewire"; }; config = lib.mkIf config.pipewire.enable { services.pipewire = { enable = true; pulse.enable = true; }; }; }