29 lines
634 B
Nix
29 lines
634 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services.hyprpaper = {
|
|
enable = true;
|
|
settings = {
|
|
ipc = "on";
|
|
splash = false;
|
|
splash_offset = 2;
|
|
};
|
|
};
|
|
|
|
home.packages = [
|
|
pkgs.hyprpaper
|
|
];
|
|
systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target";
|
|
|
|
wayland.windowManager.hyprland.settings.exec-once = [
|
|
"systemctl --user enable --now hyprpaper.service"
|
|
];
|
|
services.hyprpaper.settings.wallpaper = lib.singleton {
|
|
# TODO: Remove after merge https://github.com/nix-community/stylix/pull/2087
|
|
monitor = "eDP-1";
|
|
path = toString ../../../wallpapers/oasis.png;
|
|
};
|
|
}
|