25 lines
503 B
Nix
25 lines
503 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
bluetoothSupport = config.sbruder.full;
|
|
in
|
|
lib.mkIf config.sbruder.gui.enable {
|
|
sound.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pavucontrol
|
|
pulseaudio # pacmd and pactl
|
|
];
|
|
|
|
hardware.bluetooth.enable = lib.mkDefault bluetoothSupport;
|
|
services.blueman.enable = lib.mkDefault bluetoothSupport;
|
|
}
|