diff --git a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix index f2c067107..e717fb4b6 100644 --- a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix +++ b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix @@ -1,4 +1,3 @@ -# file: configuration.nix snippet { config, pkgs, @@ -22,6 +21,7 @@ in systemd.user.services.wpaperd = { description = "wpaperd wallpaper daemon"; after = [ "default.target" ]; + enable = true; # <-- Must be set for user services serviceConfig = { Type = "simple"; @@ -30,18 +30,17 @@ in RestartSec = 1; }; - install = { - WantedBy = [ "default.target" ]; - }; + # Optional: make it start on login (default.target) + wantedBy = [ "default.target" ]; }; - # Optional: ensure the directory exists + # Optional: ensure the directory exists at activation system.activationScripts.copyWallpaperConf = { text = '' echo "=== Ensuring wallpaper config exists ===" mkdir -p "${wallpaperDir}/pictures" if [ ! -f "${wallpaperConf}" ]; then - touch "${wallpaperConf}" + touch "${wallpaperConf}" fi echo "Done." '';