diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index dee99b44..6298956e 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -7,6 +7,18 @@ cfg = config.ar.home; in { config = lib.mkIf cfg.desktop.hyprland.enable { + services.hyprpaper = + lib.mkIf + (config.stylix.enable && !cfg.services.randomWallpaper.enable) + { + enable = true; + + settings = { + preload = ["${config.stylix.image}"]; + wallpaper = [",${config.stylix.image}"]; + }; + }; + wayland.windowManager.hyprland = { enable = true; settings = import ./settings.nix {inherit config lib pkgs;};