From 26316d3a3bb9263e31b2d7e8bf28c763c01eb1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Thu, 21 Aug 2025 18:05:02 +0200 Subject: [PATCH] Home Gen537 @ 2025-08-21-18:05 by jonas@comfy-station --- home/jonas@comfy-station.nix | 1 + modules/home/themes/layan.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) 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;