38 lines
970 B
Nix
38 lines
970 B
Nix
|
{
|
||
|
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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|