nixconf/modules/home/hyprland/hyprpaper.nix

30 lines
442 B
Nix

{
config,
pkgs,
inputs,
assets,
...
}:
{
home.packages = [
pkgs.hyprpaper
];
# Home Manager
xdg.configFile."wallpaper.png".source = "${assets}/wallpaper.png";
services.hyprpaper = {
enable = true;
settings = {
ipc = "on";
splash = false;
preload = [
"/home/javi/.config/wallpaper.png"
];
wallpaper = [
", /home/javi/.config/wallpaper.png"
];
};
};
}