diff --git a/flake-modules/home-modules.nix b/flake-modules/home-modules.nix index e117fb9..277a3cd 100644 --- a/flake-modules/home-modules.nix +++ b/flake-modules/home-modules.nix @@ -17,9 +17,9 @@ imports = defaultModules ++ [ inputs.stylix.homeManagerModules.stylix ( - { config, ... }: - { - stylix.image = config.jhome.sway.background; + { lib, config, ... }: + lib.mkIf config.jhome.gui.enable { + stylix.image = config.jhome.gui.sway.background; } ) ];