3
0
Fork 0
forked from mirrors/nixpkgs

nixos/pipewire: add media-session.d files

This commit is contained in:
Gabriel Ebner 2020-11-29 15:20:43 +01:00
parent 53029a15cc
commit ce28fd3d22

View file

@ -99,5 +99,9 @@ in {
};
environment.sessionVariables.LD_LIBRARY_PATH =
lib.optional cfg.jack.enable "/run/current-system/sw/lib/pipewire";
environment.etc."pipewire/media-session.d/with-alsa" = mkIf cfg.alsa.enable { text = ""; };
environment.etc."pipewire/media-session.d/with-pulseaudio" = mkIf cfg.pulse.enable { text = ""; };
environment.etc."pipewire/media-session.d/with-jack" = mkIf cfg.jack.enable { text = ""; };
};
}