linux-wallpaperengine: fix ExecStart command

Make sure to properly separate command args.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2025-12-28 22:44:40 -06:00
parent d99b4ca5de
commit 365cbc13c4

View File

@@ -138,11 +138,12 @@ in
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart =
lib.getExe cfg.package
+ (lib.optionalString (cfg.assetsPath != null) " --assets-dir ${cfg.assetsPath} ")
+ (lib.optionalString (cfg.clamping != null) "--clamping ${cfg.clamping} ")
+ (lib.strings.concatStringsSep " " args);
ExecStart = lib.concatStringsSep " " (
[ (lib.getExe cfg.package) ]
++ lib.optional (cfg.assetsPath != null) "--assets-dir ${cfg.assetsPath}"
++ lib.optional (cfg.clamping != null) "--clamping ${cfg.clamping}"
++ args
);
Restart = "on-failure";
};
Install = {