nix-config/nixos/_mixins/desktop/qt-style.nix

19 lines
363 B
Nix
Raw Normal View History

{ lib, pkgs, ... }: {
environment = {
systemPackages = with pkgs; [
qgnomeplatform-qt6
];
# Required to coerce dark theme that works with Yaru
# TODO: Set this in the user-session
variables = lib.mkForce {
QT_QPA_PLATFORMTHEME = "gnome";
QT_STYLE_OVERRIDE = "Adwaita-Dark";
};
};
qt = {
enable = true;
};
}