{ pkgs, lib, config, ... }: # ExplanationNote: this is a workaround # to let .jar files not packages in nixpkgs # (hence not using wrapGAppsNoGuiHook) # to not crash with the error: # # No GSettings schemas are installed on the system # { environment.systemPackages = [ pkgs.gtk3 ]; environment.variables = rec { GSETTINGS_SCHEMA_DIR = "${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}/glib-2.0/schemas"; }; }