2023-02-14 20:33:59 +01:00
|
|
|
{ custom }: { lib, ... }:
|
2022-08-10 20:46:38 +02:00
|
|
|
{
|
2023-02-14 20:33:59 +01:00
|
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
2022-08-10 20:46:38 +02:00
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
2022-11-09 23:42:04 +01:00
|
|
|
config.pipewire = {
|
|
|
|
"context.exec" = [{
|
|
|
|
path = "pactl";
|
|
|
|
args = "load-module module-switch-on-connect";
|
|
|
|
}];
|
|
|
|
};
|
2022-08-10 20:46:38 +02:00
|
|
|
};
|
2022-11-01 11:53:24 +01:00
|
|
|
home-manager.users.${custom.username} = {
|
|
|
|
services.easyeffects.enable = true;
|
|
|
|
};
|
2022-08-10 20:46:38 +02:00
|
|
|
}
|