Automatically switch audio outputs

This commit is contained in:
Andreas Zweili 2022-11-09 23:42:04 +01:00
parent 97ad7bd25f
commit 9d2a8a7e98
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
config.pipewire = {
"context.exec" = [{
path = "pactl";
args = "load-module module-switch-on-connect";
}];
};
};
home-manager.users.${custom.username} = {
services.easyeffects.enable = true;