Replace depricated pipewire config
This commit is contained in:
parent
3a7bae91af
commit
d2498680d8
|
@ -15,12 +15,20 @@ in
|
|||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
config.pipewire = {
|
||||
"context.exec" = [{
|
||||
path = "pactl";
|
||||
args = "load-module module-switch-on-connect";
|
||||
}];
|
||||
};
|
||||
};
|
||||
environment.etc.pipwire-config = {
|
||||
enable = true;
|
||||
text = ''
|
||||
{
|
||||
"context.exec": [
|
||||
{
|
||||
"args": "load-module module-switch-on-connect",
|
||||
"path": "pactl"
|
||||
}
|
||||
]
|
||||
}
|
||||
'';
|
||||
target = "pipewire.conf.d/auto-switch-audio.conf";
|
||||
};
|
||||
home-manager.users.${config.az-username} = {
|
||||
services.easyeffects.enable = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user