mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
19 lines
453 B
Nix
19 lines
453 B
Nix
# Hyprpaper is used to set the wallpaper on the system
|
|
{lib, ...}: {
|
|
# The wallpaper is set by stylix
|
|
services.hyprpaper = {
|
|
enable = true;
|
|
settings = {
|
|
ipc = "on";
|
|
splash = false;
|
|
splash_offset = 2.0;
|
|
};
|
|
};
|
|
systemd.user.services.hyprpaper.Unit.After =
|
|
lib.mkForce "graphical-session.target";
|
|
|
|
wayland.windowManager.hyprland.settings.exec-once = [
|
|
"systemctl --user enable --now hyprpaper.service"
|
|
];
|
|
}
|