monitors: { ... }: { # TODO: Merge into hyprland # wayland.windowManager.hyprland.settings.exec-once = [ # "wpaperd" # ]; services.wpaperd = { enable = true; settings = builtins.listToAttrs ( map (mon: { name = mon; value = { # Each monitor gets a folder under wallpaper that containes the current images. path = "~/Pictures/Wallpaper/${mon}"; }; }) monitors ) // { default = { duration = "1h"; mode = "center"; sorting = "random"; }; }; }; }