1
Fork 0
satellite/home/features/wayland/hyprland/hyprpaper.nix

15 lines
396 B
Nix
Raw Normal View History

2023-12-02 00:46:56 +01:00
{ config, pkgs, lib, ... }: {
home.packages = [ pkgs.hyprpaper ];
services.hyprpaper = {
enable = true;
systemdTarget = "hyprland-session.target";
preload = [ config.stylix.image ];
wallpapers = [{ inherit (config.stylix) image; }] ++
lib.forEach config.satellite.monitors ({ name, ... }: {
monitor = name;
image = config.stylix.image;
});
};
}