mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user