Merge pull request #317047 from bobby285271/upd/pantheon-unset-qt-env

nixos/pantheon: Do not set QT_QPA_PLATFORMTHEME
This commit is contained in:
Bobby Rong 2024-06-06 22:56:02 +08:00 committed by GitHub
commit 48deaba189
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -269,11 +269,6 @@ in
programs.bash.vteIntegration = mkDefault true;
programs.zsh.vteIntegration = mkDefault true;
# Use native GTK file chooser on Qt apps. This is because Qt does not know Pantheon.
# https://invent.kde.org/qt/qt/qtbase/-/blob/6.6/src/gui/platform/unix/qgenericunixthemes.cpp#L1312
# https://github.com/elementary/default-settings/blob/7.0.2/profile.d/qt-qpa-platformtheme.sh
environment.variables.QT_QPA_PLATFORMTHEME = mkDefault "gtk3";
# Default Fonts
fonts.packages = with pkgs; [
inter