Files
nix-config/modules/hosts/tux/users/weckyy702/wallpaper.nix
T
Weckyy702 24146bede1 Upgrade to NixOS 26.05
Had to redo hyprland config since they use lua in the newest versions
2026-06-18 13:50:32 +02:00

40 lines
892 B
Nix

{ inputs, ... }: {
flake-file.inputs = {
aghpb = {
url = "github:cat-milk/Anime-Girls-Holding-Programming-Books";
flake = false;
};
orly-covers = {
url = "github:thepracticaldev/orly-full-res";
flake = false;
};
};
flake.modules.homeManager.randomized-aghpb-wallpaper = { pkgs, ... }:
let
combined_wallpapers = pkgs.symlinkJoin {
name = "joined-wallpapers";
paths = with inputs; [
aghpb
orly-covers
];
};
in
{
imports = with inputs.self.factory; [
(wpaperd {
default = {
path = combined_wallpapers;
recursive = true;
mode = "stretch";
duration = "5m";
};
})
];
# wayland.windowManager.hyprland.settings.bind = {
# _args "$mod, i, exec, wpaperctl next"
# };
};
}