23 lines
336 B
Nix
23 lines
336 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.core.pipewire;
|
|
in
|
|
{
|
|
options.core.pipewire.enable = mkEnableOption "Enable pipewire";
|
|
|
|
config = mkIf cfg.enable {
|
|
services.pipewire = {
|
|
enable = true;
|
|
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
|
|
pulse.enable = true;
|
|
};
|
|
};
|
|
}
|