blob: 93f82893c4c04a2d66e2835324ae6f3439cfeaf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
pkgs,
config,
lib,
...
}: let
cfg = config.collinux.services.audio;
in
lib.mkIf cfg.enable {
security.rtkit.enable = true;
services.pipewire = {
enable = true;
wireplumber.enable = true;
alsa.enable = true;
pulse.enable = cfg.pulse.enable;
};
environment.systemPackages = [pkgs.pwvucontrol];
}
|