nix-infra/modules/services/audio/pipewire.nix

26 lines
395 B
Nix
Raw Normal View History

# Sources for this configuration:
# - https://nixos.wiki/wiki/PipeWire
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.ccchh.services.audio;
in
{
config = mkIf cfg.enable {
security.rtkit.enable = true;
services.pipewire = {
enable = true;
systemWide = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
};
}