{ pkgs, ... }: { systemd.user.services.wallpaper = { description = "wallpaper"; script = '' ${pkgs.hyprland}/bin/hyprctl hyprpaper wallpaper ,$(find -L /etc/nixos/home/wallpapers -type f | shuf -n 1) ''; serviceConfig = { Type = "oneshot"; }; }; systemd.user.timers.wallpaper = { wantedBy = [ "timers.target" ]; timerConfig = { OnBootSec = "10m"; OnUnitActiveSec = "10m"; Unit = "wallpaper.service"; Persistent = true; }; }; }