treewide: remove redundant stylix.image Nix store copies (#1659)

Link: https://github.com/nix-community/stylix/pull/1659

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
NAHO 2025-07-14 00:21:22 +02:00 committed by GitHub
parent f6c5aaa4f8
commit 218d4424b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ mkTarget {
(
{ cfg, image }:
{
programs.swaylock.settings.image = lib.mkIf cfg.useWallpaper "${image}";
programs.swaylock.settings.image = lib.mkIf cfg.useWallpaper image;
}
)
(

View file

@ -25,7 +25,7 @@ mkTarget {
in
{
services.wpaperd.settings.any = {
path = "${image}";
path = image;
} // modeAttrs;
}
);

View file

@ -84,7 +84,7 @@ in
default = pkgs.runCommand "palette.json" { } ''
${lib.getExe cfg.paletteGenerator} \
"${cfg.polarity}" \
${lib.escapeShellArg "${cfg.image}"} \
${cfg.image} \
"$out"
'';
};