flocon/config/home-manager/programs/hypr/paper.nix

21 lines
472 B
Nix
Raw Normal View History

{
lib,
2024-12-27 10:48:04 +00:00
osConfig,
inputs,
pkgs,
...
}: {
services.hyprpaper = {
enable = true;
package = inputs.hyprpaper.packages.${pkgs.system}.default;
settings = {
2024-12-27 10:48:04 +00:00
preload = ["${osConfig.local.style.wallpaper}"];
wallpaper = [", ${osConfig.local.style.wallpaper}"];
};
};
systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target";
2024-12-27 10:48:04 +00:00
systemd.user.services.hyprpaper.Service.Slice = "background-graphical.slice";
}