diff --git a/modules/swaylock/hm.nix b/modules/swaylock/hm.nix index b0aa4f59..910ef72f 100644 --- a/modules/swaylock/hm.nix +++ b/modules/swaylock/hm.nix @@ -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; } ) ( diff --git a/modules/wpaperd/hm.nix b/modules/wpaperd/hm.nix index 5847c371..ed8e286f 100644 --- a/modules/wpaperd/hm.nix +++ b/modules/wpaperd/hm.nix @@ -25,7 +25,7 @@ mkTarget { in { services.wpaperd.settings.any = { - path = "${image}"; + path = image; } // modeAttrs; } ); diff --git a/stylix/palette.nix b/stylix/palette.nix index e7ae4626..112668ac 100644 --- a/stylix/palette.nix +++ b/stylix/palette.nix @@ -84,7 +84,7 @@ in default = pkgs.runCommand "palette.json" { } '' ${lib.getExe cfg.paletteGenerator} \ "${cfg.polarity}" \ - ${lib.escapeShellArg "${cfg.image}"} \ + ${cfg.image} \ "$out" ''; };