diff --git a/modules/workspace.nix b/modules/workspace.nix index 1c29bc66..4e37f333 100644 --- a/modules/workspace.nix +++ b/modules/workspace.nix @@ -484,7 +484,8 @@ in }");'' } ${ - lib.optionalString (cfg.workspace.wallpaperBackground != null) + lib.optionalString + (cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { }) ''desktop.writeConfig("${ if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then "Blur" @@ -543,7 +544,8 @@ in }");'' } ${ - lib.optionalString (cfg.workspace.wallpaperBackground != null) + lib.optionalString + (cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { }) ''desktop.writeConfig("${ if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then "Blur"