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

41 lines
931 B
Nix
Raw Normal View History

2024-04-16 12:25:00 +02:00
{ pkgs, lib, config, ... }:
let
cfg = config.grimmShared;
in
{
config = with cfg; lib.mkIf (enable && graphical) {
qt = {
enable = true;
style = "kvantum";
platformTheme = "qt5ct";
};
environment.systemPackages = with pkgs; [
libsForQt5.qtstyleplugin-kvantum
catppuccin-kvantum
catppuccin-sddm-corners
libsForQt5.qtgraphicaleffects
catppuccin-kvantum
kdePackages.audiocd-kio
xcb-util-cursor
qt6ct
libsForQt5.dolphin
2024-04-16 13:56:26 +02:00
papirus-icon-theme
2024-04-16 12:25:00 +02:00
];
# 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";
};
2024-04-18 21:16:40 +02:00
boot.plymouth.enable = true;
2024-04-16 12:25:00 +02:00
};
}