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

59 lines
1.2 KiB
Nix
Raw Normal View History

2024-05-07 23:31:41 +02:00
{
pkgs,
lib,
config,
...
}:
2024-04-16 12:25:00 +02:00
let
2024-05-11 22:55:59 +02:00
inherit (config.grimmShared) enable graphical sway;
2024-04-16 12:25:00 +02:00
in
{
2024-05-11 22:55:59 +02:00
config = lib.mkIf (enable && graphical) {
qt = {
enable = true;
2024-10-17 23:23:50 +02:00
style = "breeze";
platformTheme = "lxqt";
2024-05-11 22:55:59 +02:00
};
2024-04-16 12:25:00 +02:00
2024-05-11 22:55:59 +02:00
environment.systemPackages =
with pkgs;
with kdePackages;
[
2024-10-17 23:23:50 +02:00
# qtstyleplugin-kvantum
2024-05-11 22:55:59 +02:00
catppuccin-sddm-corners
libsForQt5.qtgraphicaleffects
2024-10-17 23:23:50 +02:00
# catppuccin-kvantum
breeze
2024-05-11 22:55:59 +02:00
kdePackages.audiocd-kio
kdePackages.kio-extras
kdePackages.kio
xcb-util-cursor
qt6ct
kdePackages.dolphin
qtwayland
];
2024-04-16 12:25:00 +02:00
2024-10-17 23:23:50 +02:00
# environment.pathsToLink = [ "/share/Kvantum" ];
2024-04-16 12:25:00 +02:00
2024-05-11 22:55:59 +02:00
services.displayManager = {
sddm = {
2024-05-07 23:31:41 +02:00
enable = true;
2024-05-11 22:55:59 +02:00
theme = "catppuccin-sddm-corners";
wayland.enable = true;
wayland.compositor = "weston";
2024-05-07 23:31:41 +02:00
};
2024-05-11 22:55:59 +02:00
defaultSession = lib.optionalString sway.enable "sway";
};
2024-10-17 23:23:50 +02:00
xdg.portal.lxqt.styles = with pkgs; [
kdePackages.breeze-qt5
];
2024-05-11 22:55:59 +02:00
boot.plymouth = {
themePackages = with pkgs; [ catppuccin-plymouth ];
theme = "catppuccin-macchiato";
enable = true;
2024-04-27 11:08:44 +02:00
};
2024-05-11 22:55:59 +02:00
};
2024-04-16 12:25:00 +02:00
}