Files
omarchy-nix/modules/home-manager/hyprpaper.nix
T
Gaétan Lepage fba993c589 Format project with official nixfmt formatter (#21)
* Set nix official formatter for the flake

* format the entire project
2025-10-15 15:09:51 -05:00

28 lines
461 B
Nix

{
config,
pkgs,
...
}:
let
selected_wallpaper_path = (import ../../lib/selected-wallpaper.nix config).wallpaper_path;
in
{
home.file = {
"Pictures/Wallpapers" = {
source = ../../config/themes/wallpapers;
recursive = true;
};
};
services.hyprpaper = {
enable = true;
settings = {
preload = [
selected_wallpaper_path
];
wallpaper = [
",${selected_wallpaper_path}"
];
};
};
}