fix(home-modules): don't set stylix image when headless #463

Merged
jalil merged 1 commit from push-nrqqpylyynyo into main 2025-05-09 12:37:56 +02:00

View file

@ -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;
}
)
];