diff --git a/modules/hyprlock/hm.nix b/modules/hyprlock/hm.nix index 74c54a9c..8c59fa38 100644 --- a/modules/hyprlock/hm.nix +++ b/modules/hyprlock/hm.nix @@ -11,9 +11,7 @@ mkTarget { ( { cfg, image }: { - programs.hyprlock.settings.background.path = lib.mkIf cfg.useWallpaper "${ - image - }"; + programs.hyprlock.settings.background.path = lib.mkIf cfg.useWallpaper image; } ) ( diff --git a/modules/hyprpaper/hm.nix b/modules/hyprpaper/hm.nix index 6018b217..e623e55f 100644 --- a/modules/hyprpaper/hm.nix +++ b/modules/hyprpaper/hm.nix @@ -4,7 +4,7 @@ mkTarget { { image }: { services.hyprpaper.settings = { - preload = [ "${image}" ]; + preload = [ image ]; wallpaper = [ ",${image}" ]; }; };