diff --git a/home-manager/features/wallpaper.nix b/home-manager/features/wallpaper.nix index 988620e..0f167be 100644 --- a/home-manager/features/wallpaper.nix +++ b/home-manager/features/wallpaper.nix @@ -5,17 +5,23 @@ monitors: "wpaperd" ]; - programs.wpaperd = { + services.wpaperd = { enable = true; - settings = builtins.listToAttrs (map (mon: { - name = mon; - value = { path = "~/Pictures/Wallpaper/${mon}"; }; - }) monitors) // { - default = { - duration = "1h"; - mode = "center"; - sorting = "random"; + settings = + builtins.listToAttrs ( + map (mon: { + name = mon; + value = { + path = "~/Pictures/Wallpaper/${mon}"; + }; + }) monitors + ) + // { + default = { + duration = "1h"; + mode = "center"; + sorting = "random"; + }; }; - }; - }; + }; }