add gstreamer

This commit is contained in:
TheWanderingCrow 2025-04-22 10:13:29 -04:00
parent 572e63f886
commit 88c513bac3
4 changed files with 31 additions and 14 deletions

View file

@ -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/";
};
}

View file

@ -5,5 +5,6 @@
./keyd.nix
./usershell.nix
./xdg.nix
./gstreamer.nix
];
}

View 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/";
};
}

View file

@ -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