From fe4f198661a5f48321b3361831718d3884d17821 Mon Sep 17 00:00:00 2001 From: datsudo <76833632+datsudo@users.noreply.github.com> Date: Mon, 2 Jun 2025 21:38:22 +0800 Subject: [PATCH] update theming - move GTK_THEME var to theming.nix - disable plank dock but reinstate the option --- user/home.nix | 12 +----------- user/theming.nix | 9 +++++++++ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/user/home.nix b/user/home.nix index ae61702..b9ea6bd 100644 --- a/user/home.nix +++ b/user/home.nix @@ -53,17 +53,7 @@ ''; ### SESSION ENV - home.sessionPath = [ - "$HOME/.local/bin" - ]; - - home.sessionVariables = { - "GTK_THEME" = "Adwaita:dark"; - }; - - ### DOCK - theming.dock.enable = true; - theming.dock.autostart = true; + home.sessionPath = [ "$HOME/.local/bin" ]; music = { enable = true; diff --git a/user/theming.nix b/user/theming.nix index ed8c817..e4c9c1c 100644 --- a/user/theming.nix +++ b/user/theming.nix @@ -49,9 +49,18 @@ in style.name = "adwaita-dark"; }; + home.sessionVariables = { + "GTK_THEME" = "Adwaita:dark"; + }; + + home.packages = lib.mkIf cfg.enable [ + pkgs.plank pkgs.libwnck pkgs.bamf + ]; + xdg.autostart = lib.mkIf cfg.autostart { enable = true; entries = [ + "${pkgs.plank}/share/applications/plank.desktop" ]; }; };