diff --git a/hosts/monolith/configuration.nix b/hosts/monolith/configuration.nix index 84ce7c5..adb144b 100644 --- a/hosts/monolith/configuration.nix +++ b/hosts/monolith/configuration.nix @@ -51,6 +51,7 @@ # hive modules hive.nix-scripts.enable = true; hive.displayManager.name = "sddm"; + hive.themes.layan.enable = true; hive.plasma.enable = true; hive.kwallet.enable = true; hive.kwallet.forUsers = ["jonas"]; @@ -98,7 +99,6 @@ firefox git gramps - hive.layan-qt6 insomnia libreoffice mosquitto diff --git a/modules/default.nix b/modules/default.nix index 6604626..ccc3b8e 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -18,6 +18,7 @@ # pure system modules ./desktop/de ./desktop/dm + ./desktop/themes ./hardware/bluetooth.nix ./hardware/sound.nix ./hardware/yubikey.nix diff --git a/modules/desktop/themes/default.nix b/modules/desktop/themes/default.nix new file mode 100644 index 0000000..65faac2 --- /dev/null +++ b/modules/desktop/themes/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./layan.nix + ]; +} diff --git a/modules/desktop/themes/layan.nix b/modules/desktop/themes/layan.nix new file mode 100644 index 0000000..a89573c --- /dev/null +++ b/modules/desktop/themes/layan.nix @@ -0,0 +1,21 @@ +{ + lib, + config, + pkgs, + ... +}: let + cfg = config.hive.themes.layan; +in { + options.hive.themes.layan = { + enable = lib.mkEnableOption "Layan theme configuration"; + }; + config = lib.mkIf cfg.enable { + environment.systemPackages = [ + pkgs.hive.layan-qt6 + pkgs.kdePackages.qtstyleplugin-kvantum + pkgs.unstable.layan-cursors + pkgs.layan-gtk-theme + pkgs.tela-circle-icon-theme + ]; + }; +} diff --git a/modules/home/themes/layan.nix b/modules/home/themes/layan.nix index 28affad..b81470f 100644 --- a/modules/home/themes/layan.nix +++ b/modules/home/themes/layan.nix @@ -11,13 +11,6 @@ in { }; config = lib.mkIf cfg.enable { - home.packages = [ - 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;