Simon Bruder
0e0bdf7c3e
This reverts commit 5462768f19
.
The new pipewire version from 23.05 automatically separates the inputs.
27 lines
582 B
Nix
27 lines
582 B
Nix
{ config, lib, modulesPath, pkgs, ... }:
|
|
let
|
|
bluetoothSupport = config.sbruder.full;
|
|
in
|
|
lib.mkIf config.sbruder.gui.enable {
|
|
sound.enable = true;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
unstable.helvum # patch panel
|
|
pavucontrol
|
|
pulseaudio # pacmd and pactl
|
|
];
|
|
|
|
hardware.bluetooth.enable = lib.mkDefault bluetoothSupport;
|
|
services.blueman.enable = lib.mkDefault bluetoothSupport;
|
|
}
|