Files
.hive/modules/themes/layan/layan.nix
2026-03-27 18:49:27 +01:00

49 lines
1.2 KiB
Nix

{self, ...}: {
flake.homeModules.layan = {
lib,
pkgs,
...
}: {
imports = [
self.homeModules.layan-qt6-overlay
self.homeModules.unstable-overlay
];
home.packages = [
pkgs.layan-qt6
pkgs.kdePackages.qtstyleplugin-kvantum
pkgs.unstable.layan-cursors
pkgs.layan-gtk-theme
pkgs.tela-circle-icon-theme
];
qt.enable = false;
qt.style.name = "kvantum";
qt.style.package = pkgs.kdePackages.qtstyleplugin-kvantum;
qt.platformTheme.name = "gtk";
systemd.user.settings.Manager.DefaultEnvironment = lib.mapAttrs (_: lib.mkDefault) {
QT_STYLE_OVERRIDE = "kvantum";
QT_QPA_PLATFORMTHEME = "gtk";
};
xdg.configFile."Kvantum/kvantum.kvconfig".text = lib.generators.toINI {} {
General.theme = "LayanDark";
};
# 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-Dark";
};
iconTheme = {
package = pkgs.tela-circle-icon-theme;
name = "Tela-circle-dark";
};
};
};
}