mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add gstreamer
This commit is contained in:
parent
572e63f886
commit
88c513bac3
4 changed files with 31 additions and 14 deletions
|
|
@ -1,11 +1,13 @@
|
|||
{
|
||||
config = {
|
||||
services.pulseaudio.support32Bit = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
services.pulseaudio.support32Bit = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
GST_PLUGIN_PATH = "/run/current-system/sw/lib/gstreamer-1.0/";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,5 +5,6 @@
|
|||
./keyd.nix
|
||||
./usershell.nix
|
||||
./xdg.nix
|
||||
./gstreamer.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
20
modules/software/gstreamer.nix
Normal file
20
modules/software/gstreamer.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.module.gui.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-rs
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-vaapi
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
GST_PLUGIN_PATH = "/run/current-system/sw/lib/gstreamer-1.0/";
|
||||
};
|
||||
}
|
||||
|
|
@ -52,12 +52,6 @@
|
|||
# Music
|
||||
spotify
|
||||
strawberry-qt6
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-rs
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-vaapi
|
||||
|
||||
# Utilities
|
||||
gimp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue