From ae1ea768ef5aee7e316307771595e7b647f0c8e9 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 28 Dec 2025 22:44:52 -0600 Subject: [PATCH] linux-wallpaperengine: misc cleanup Signed-off-by: Austin Horstman --- modules/services/linux-wallpaperengine.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/services/linux-wallpaperengine.nix b/modules/services/linux-wallpaperengine.nix index 9f4e982fd..60a2f9b58 100644 --- a/modules/services/linux-wallpaperengine.nix +++ b/modules/services/linux-wallpaperengine.nix @@ -8,7 +8,6 @@ let inherit (lib) mkOption types; cfg = config.services.linux-wallpaperengine; - in { meta.maintainers = [ lib.hm.maintainers.ckgxrg ]; @@ -105,10 +104,10 @@ in config = lib.mkIf cfg.enable { assertions = [ (lib.hm.assertions.assertPlatform "services.linux-wallpaperengine" pkgs lib.platforms.linux) - ({ + { assertion = cfg.wallpapers != null; message = "linux-wallpaperengine: You must set at least one wallpaper"; - }) + } ]; home.packages = [ cfg.package ]; @@ -121,7 +120,7 @@ in lib.cli.toGNUCommandLine { } { screen-root = each.monitor; inherit (each) scaling fps; - silent = each.audio.silent; + inherit (each.audio) silent; noautomute = !each.audio.automute; no-audio-processing = !each.audio.processing; }