Skip to content

Commit

Permalink
nix: set GST_PLUGIN_SYSTEM_PATH_1_0, LIBGL_DEBUG, RUST_LOG
Browse files Browse the repository at this point in the history
Webkit is mad if it cannot find gstreamer and seems to get stuck
otherwise.

LIBGL_DEBUG helps to debug GL stuff, and RUST_LOG our rust code.
  • Loading branch information
flokli committed Jul 16, 2024
1 parent e3ca52f commit 391afb1
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 391afb1

Please sign in to comment.