Files
dotfiles/home/services/hyprpaper.nix
uttarayan21 d1980ac0ae chore: update flake.lock with latest revisions and narHashes
feat(hyprland): enable direct_scanout and set bitdepth to 10

fix(hyprpaper): conditionally enable based on 'ryu' device

fix(wallpaperengine): add shorthand flag for scaling option

feat(ryu): switch to open NVIDIA driver and use latest package
2025-10-22 03:03:51 +05:30

30 lines
753 B
Nix

{
pkgs,
device,
config,
...
}: {
imports = [
../../modules/hyprpaper.nix
];
programs.hyprpaper = let
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
in {
enable = device.is "ryu";
systemd.enable = true;
systemd.target = "hyprland-session.target";
settings.preload =
wallpapers.all
++ [
silksongFleas
];
settings.wallpapers = {
# "${device.monitors.primary}" = silksongFleas;
"${device.monitors.secondary}" = wallpapers.frieren_3;
"${device.monitors.tertiary}" = wallpapers.hornet;
};
};
}