[wpaperd] Update deprecated settings

This commit is contained in:
2025-04-24 11:29:27 -07:00
parent 3a20c72206
commit 3198414be4

View File

@@ -5,17 +5,23 @@ monitors:
"wpaperd" "wpaperd"
]; ];
programs.wpaperd = { services.wpaperd = {
enable = true; enable = true;
settings = builtins.listToAttrs (map (mon: { settings =
name = mon; builtins.listToAttrs (
value = { path = "~/Pictures/Wallpaper/${mon}"; }; map (mon: {
}) monitors) // { name = mon;
default = { value = {
duration = "1h"; path = "~/Pictures/Wallpaper/${mon}";
mode = "center"; };
sorting = "random"; }) monitors
)
// {
default = {
duration = "1h";
mode = "center";
sorting = "random";
};
}; };
}; };
};
} }