forked from CCCHH/nix-infra
18 lines
333 B
Nix
18 lines
333 B
Nix
|
# Sources for this configuration:
|
||
|
# - https://nixos.wiki/wiki/PipeWire
|
||
|
|
||
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
security.rtkit.enable = true;
|
||
|
services.pipewire = {
|
||
|
enable = true;
|
||
|
systemWide = true;
|
||
|
alsa.enable = true;
|
||
|
alsa.support32Bit = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
|
||
|
users.users.chaos.extraGroups = [ "pipewire" ];
|
||
|
}
|