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:
parent
f6c5aaa4f8
commit
218d4424b0
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
)
|
||||
(
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ mkTarget {
|
|||
in
|
||||
{
|
||||
services.wpaperd.settings.any = {
|
||||
path = "${image}";
|
||||
path = image;
|
||||
} // modeAttrs;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ in
|
|||
default = pkgs.runCommand "palette.json" { } ''
|
||||
${lib.getExe cfg.paletteGenerator} \
|
||||
"${cfg.polarity}" \
|
||||
${lib.escapeShellArg "${cfg.image}"} \
|
||||
${cfg.image} \
|
||||
"$out"
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue