Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix: set GST_PLUGIN_SYSTEM_PATH_1_0, LIBGL_DEBUG, RUST_LOG #22

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/";
Comment on lines +75 to +83
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to self: document how to add this in the cargo run case on NixOS too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(doesn't need to block this from going in)

LIBGL_DEBUG = "verbose";
RUST_LOG = "debug";
};
extraArguments = [
"-d" # don't draw client decorations when possible
];
Expand Down
Loading