fix(home-modules): don't set stylix image when headless
This commit is contained in:
parent
439886abeb
commit
70129ce5e1
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue