fix(home-modules): don't set stylix image when headless
All checks were successful
/ check (push) Successful in 8s
/ check-renovaterc (push) Successful in 3s
/ build-packages (push) Successful in 15s
/ build-vm (push) Successful in 2s
/ report-size (push) Successful in 4s

This commit is contained in:
Jalil David Salamé Messina 2025-05-09 12:35:17 +02:00
parent 439886abeb
commit 70129ce5e1
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -17,9 +17,9 @@
imports = defaultModules ++ [ imports = defaultModules ++ [
inputs.stylix.homeManagerModules.stylix inputs.stylix.homeManagerModules.stylix
( (
{ config, ... }: { lib, config, ... }:
{ lib.mkIf config.jhome.gui.enable {
stylix.image = config.jhome.sway.background; stylix.image = config.jhome.gui.sway.background;
} }
) )
]; ];