diff --git a/home/jonas@comfy-station.nix b/home/jonas@comfy-station.nix index 3765728..9cd99eb 100644 --- a/home/jonas@comfy-station.nix +++ b/home/jonas@comfy-station.nix @@ -14,6 +14,7 @@ # hive modules hive.themes.layan.enable = true; + hive.themes.layan.pkgsInHome = true; hive.hyprland.enable = true; hive.swaync.enable = true; hive.waybar.enable = true; diff --git a/modules/home/themes/layan.nix b/modules/home/themes/layan.nix index b81470f..71ea170 100644 --- a/modules/home/themes/layan.nix +++ b/modules/home/themes/layan.nix @@ -8,9 +8,22 @@ in { options.hive.themes.layan = { enable = lib.mkEnableOption "Layan theme configuration"; + pkgsInHome = lib.mkOption { + type = lib.types.bool; + default = false; + description = "Whether to install Layan theme packages in the user's home directory."; + }; }; config = lib.mkIf cfg.enable { + home.packages = lib.optionals cfg.pkgsInHome [ + pkgs.hive.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;