From b4ee7e7ebff3e14c03e2bd623be0e481f8319ffe Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Thu, 19 Mar 2026 04:33:53 -0600 Subject: [PATCH] stylix fix for vps --- config/home-manager.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config/home-manager.nix b/config/home-manager.nix index d3ab990..19cce01 100644 --- a/config/home-manager.nix +++ b/config/home-manager.nix @@ -15,6 +15,7 @@ let "pokemon-colorscripts" ] null inputs.jawz-scripts.packages; shellType = if osConfig == null then preferredShell else osConfig.my.shell.type; + stylixEnabled = if osConfig == null then false else lib.hasAttrByPath [ "my" "stylix" ] osConfig; commonInit = lib.optionalString (pokemon-colorscripts != null) '' ${pokemon-colorscripts}/bin/pokemon-colorscripts -r --no-title @@ -29,10 +30,13 @@ let }; in { - imports = lib.optionals (osConfig != null) [ - ./jawz-home.nix - ./stylix-home.nix - ]; + imports = + lib.optionals (osConfig != null) [ + ./jawz-home.nix + ] + ++ lib.optionals stylixEnabled [ + ./stylix-home.nix + ]; home.stateVersion = "23.05"; programs = { direnv = {