mirror of
https://github.com/henrysipp/omarchy-nix.git
synced 2026-06-05 18:29:26 -05:00
fba993c589
* Set nix official formatter for the flake * format the entire project
28 lines
461 B
Nix
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}"
|
|
];
|
|
};
|
|
};
|
|
}
|