{ config, pkgs, lib, user, flakeRoot, ... }: let wallpaperSource = "${flakeRoot}/assets/hyprland/wallpaperstuff"; in { home-manager.users.${user.username} = { programs.wpaperd.enable = true; xdg.configFile."wpaperd/wallpaper.conf".source = "${wallpaperSource}/wpaperd-runtime.toml"; # Copy the rest of the folder (if needed) home.file.".config/wpaperd/".source = wallpaperSource; }; }