dotfiles/common/desktop_environment/hyprland/home_manager/hyprpaper.nix
2025-09-28 23:25:25 -05:00

22 lines
334 B
Nix

{
osConfig,
lib,
...
}:
let
ccfg = import ../../../config.nix;
cfg_path = [
ccfg.custom_config_key
"desktopEnvironment"
"hyprland"
];
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
in
{
config = {
services.hyprpaper = {
enable = true;
settings = cfg.hyprpaperSettings;
};
};
}