Skip to content

Commit

Permalink
Merge pull request #22 from flokli/fix-gst
Browse files Browse the repository at this point in the history
nix: set GST_PLUGIN_SYSTEM_PATH_1_0, LIBGL_DEBUG, RUST_LOG
  • Loading branch information
flokli authored Jul 17, 2024
2 parents 320a8a3 + 391afb1 commit 97755d5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion nix/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,19 @@
enable = true;
user = "kiosk";
program = "${pkgs.fossbeamer}/bin/fossbeamer --default-config=${../default-config.json} https://example.com";
environment.GIO_MODULE_DIR = "${pkgs.glib-networking}/lib/gio/modules/";
environment = {
GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with pkgs.gst_all_1;[
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
# gst-plugins-ugly
gst-libav
]);
GIO_MODULE_DIR = "${pkgs.glib-networking}/lib/gio/modules/";
LIBGL_DEBUG = "verbose";
RUST_LOG = "debug";
};
extraArguments = [
"-d" # don't draw client decorations when possible
];
Expand Down

0 comments on commit 97755d5

Please sign in to comment.