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 }:
|
{ 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
|
in
|
||||||
{
|
{
|
||||||
services.wpaperd.settings.any = {
|
services.wpaperd.settings.any = {
|
||||||
path = "${image}";
|
path = image;
|
||||||
} // modeAttrs;
|
} // modeAttrs;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ in
|
||||||
default = pkgs.runCommand "palette.json" { } ''
|
default = pkgs.runCommand "palette.json" { } ''
|
||||||
${lib.getExe cfg.paletteGenerator} \
|
${lib.getExe cfg.paletteGenerator} \
|
||||||
"${cfg.polarity}" \
|
"${cfg.polarity}" \
|
||||||
${lib.escapeShellArg "${cfg.image}"} \
|
${cfg.image} \
|
||||||
"$out"
|
"$out"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue