21 lines
509 B
Nix
21 lines
509 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.qenya.base-graphical;
|
|
in
|
|
{
|
|
config = mkIf cfg.enable {
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
hardware.pulseaudio.enable = false; # this theoretically defaults to false but something else seems to be flipping it
|
|
environment.systemPackages = with pkgs; [ helvum ]; # patchbay
|
|
};
|
|
}
|