45 lines
904 B
Nix
45 lines
904 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.hive.themes.layan;
|
|
in {
|
|
options.hive.themes.layan = {
|
|
enable = lib.mkEnableOption "Layan theme configuration";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = [
|
|
pkgs.kdePackages.qtstyleplugin-kvantum
|
|
pkgs.layan-kde
|
|
pkgs.unstable.layan-cursors
|
|
pkgs.layan-gtk-theme
|
|
pkgs.qt6ct
|
|
pkgs.tela-circle-icon-theme
|
|
];
|
|
|
|
qt.enable = true;
|
|
qt.style.package = pkgs.layan-kde;
|
|
qt.platformTheme.name = "qtct";
|
|
|
|
# add nord like gtk theme
|
|
gtk = {
|
|
enable = true;
|
|
cursorTheme = {
|
|
package = pkgs.unstable.layan-cursors;
|
|
name = "Layan-cursors";
|
|
};
|
|
theme = {
|
|
package = pkgs.layan-gtk-theme;
|
|
name = "Layan";
|
|
};
|
|
iconTheme = {
|
|
package = pkgs.tela-circle-icon-theme;
|
|
name = "Tela-circle-dark";
|
|
};
|
|
};
|
|
};
|
|
}
|