25 lines
341 B
Nix
25 lines
341 B
Nix
|
{ config, pkgs, ... }: {
|
||
|
|
||
|
# enable sound
|
||
|
sound = {
|
||
|
enable = true;
|
||
|
};
|
||
|
|
||
|
# disable pulseaudio
|
||
|
hardware = {
|
||
|
pulseaudio = {
|
||
|
enable = false;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
# enable pipewire
|
||
|
services.pipewire = {
|
||
|
alsa = {
|
||
|
enable = true;
|
||
|
support32Bit = true;
|
||
|
};
|
||
|
enable = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
}
|