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 7e6ee898..4bb02791 100644 --- a/modules/hyprpaper/hm.nix +++ b/modules/hyprpaper/hm.nix @@ -5,7 +5,7 @@ mkTarget { { services.hyprpaper.settings.wallpaper = lib.singleton { monitor = ""; - path = toString image; + path = image; }; }; }