From 8d1c88cf46d4fd4a22198660da4ef9fd98271af6 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Tue, 6 Aug 2024 16:06:12 -0300 Subject: [PATCH] Fix kscreenlocker wallpaper assertion (#299) --- modules/kscreenlocker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kscreenlocker.nix b/modules/kscreenlocker.nix index cb794a8b..8f27484b 100644 --- a/modules/kscreenlocker.nix +++ b/modules/kscreenlocker.nix @@ -71,7 +71,7 @@ in { assertion = let - wallpapers = with cfg.workspace; [ wallpaperSlideShow wallpaper wallpaperPictureOfTheDay wallpaperPlainColor ]; + wallpapers = with cfg.kscreenlocker.appearance; [ wallpaperSlideShow wallpaper wallpaperPictureOfTheDay wallpaperPlainColor ]; in lib.count (x: x != null) wallpapers <= 1; message = "Can set only one of wallpaper, wallpaperSlideShow, wallpaperPictureOfTheDay, and wallpaperPlainColor for kscreenlocker.";