hyprsunset: fixed evaluation when hyprland package is null

This commit is contained in:
Ev357
2025-09-06 17:31:28 +02:00
committed by Austin Horstman
parent fc2fe0104d
commit ea3fe2bd72

View File

@@ -200,7 +200,8 @@ in
};
};
}
// lib.optionalAttrs (config.wayland.windowManager.hyprland.package != null) lib.mapAttrs' (
// lib.optionalAttrs (config.wayland.windowManager.hyprland.package != null) (
lib.mapAttrs' (
name: transitionCfg:
lib.nameValuePair "hyprsunset-${name}" {
Install = { };
@@ -221,7 +222,8 @@ in
) transitionCfg.requests;
};
}
) cfg.transitions;
) cfg.transitions
);
timers = lib.mapAttrs' (
name: transitionCfg: