niksos/homes/jacek/gui/qt/default.nix

38 lines
970 B
Nix
Raw Normal View History

2023-07-18 21:19:57 +02:00
{
config,
inputs,
pkgs,
...
}: {
# thanks raf :3 https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/themes/qt.nix
config = {
qt = {
enable = true;
platformTheme = "qt5ct";
style = {
name = "Catppuccin-Mocha-Dark";
package = pkgs.catppuccin-kde.override {
flavour = "mocha";
};
};
};
home = {
packages = with pkgs; [
qt5.qttools
qt6Packages.qtstyleplugin-kvantum
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
breeze-icons
];
sessionVariables = {
QT_STYLE_OVERRIDE = "kvantum";
QT_QPA_PLATFORM = "wayland;xcb";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
DISABLE_QT_COMPAT = "0";
};
};
};
}