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

50 lines
1.0 KiB
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;
2024-04-27 11:08:44 +02:00
style = "kvantum";
2024-04-16 12:25:00 +02:00
platformTheme = "qt5ct";
};
2024-04-26 10:25:17 +02:00
environment.systemPackages = with pkgs; with kdePackages; [
2024-04-27 11:08:44 +02:00
qtstyleplugin-kvantum
2024-04-16 12:25:00 +02:00
catppuccin-sddm-corners
libsForQt5.qtgraphicaleffects
2024-04-27 11:08:44 +02:00
catppuccin-kvantum
2024-04-16 12:25:00 +02:00
kdePackages.audiocd-kio
2024-04-30 22:04:17 +02:00
kdePackages.kio-extras
kdePackages.kio
2024-04-16 12:25:00 +02:00
xcb-util-cursor
qt6ct
2024-04-27 11:08:44 +02:00
kdePackages.dolphin
2024-04-27 14:20:48 +02:00
qtwayland
2024-04-16 12:25:00 +02:00
];
2024-04-27 11:08:44 +02:00
environment.pathsToLink = [
"/share/Kvantum"
];
2024-04-16 12:25:00 +02:00
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
2024-04-27 11:08:44 +02:00
boot.plymouth = {
themePackages = with pkgs; [
catppuccin-plymouth
];
theme = "catppuccin-macchiato";
enable = true;
};
2024-04-16 12:25:00 +02:00
};
}