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 ++ [
|
||||
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;
|
||||
}
|
||||
)
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue