grimm-nixos-laptop/common/graphics/qt.nix

48 lines
1.0 KiB
Nix

{ pkgs, lib, config, ... }:
let
cfg = config.grimmShared;
in
{
config = with cfg; lib.mkIf (enable && graphical) {
qt = {
enable = true;
style = "breeze";
platformTheme = "qt5ct";
};
environment.systemPackages = with pkgs; with kdePackages; [
# qtstyleplugin-kvantum
# catppuccin-kvantum
catppuccin-sddm-corners
libsForQt5.qtgraphicaleffects
# catppuccin-kvantum
kdePackages.audiocd-kio
xcb-util-cursor
qt6ct
dolphin
papirus-icon-theme
qtwayland
libsForQt5.kirigami2
kdePackages.kirigami
breeze-icons
libsForQt5.breeze-qt5
breeze
okular
];
# environment.etc."kvantum".source = "${pkgs.catppuccin-kvantum}/share/Kvantum";
services.displayManager = {
sddm = {
enable = true;
theme = "catppuccin-sddm-corners";
wayland.enable = true;
wayland.compositor = "weston";
};
defaultSession = lib.optionalString cfg.sway.enable "sway";
};
boot.plymouth.enable = true;
};
}