Files
nix-config/modules/factory/hyprpaper.nix
Weckyy702 e34b5ecce3 Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
2026-03-15 15:04:47 +01:00

20 lines
410 B
Nix

{
config.flake.factory.hyprpaper =
{ wallpaper_path
, monitor_names
,
}: { config, ... }: {
services.hyprpaper =
/*
TODO: assert that hyprland is enabled
*/
{
enable = true;
settings = {
preload = [ wallpaper_path ];
wallpaper = map (mon: "mon,${wallpaper_path}") monitor_names;
};
};
};
}