2.home-manager/tests
Austin Horstman 95496df8c0 lib/deprecations: add state version default helper
Add a helper for options whose defaults change across home.stateVersion boundaries. This centralizes the warning text and documentation shape so modules do not need to hand-roll the same migration pattern at each call site.

The helper takes legacy and current branches with a runtime value plus optional static documentation text. That keeps the actual default version-gated while avoiding option docs that depend on evaluated config. Add a focused test covering the legacy warning path, the new-value path, and an explicit legacy pin that should not warn.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-03-22 11:46:51 -05:00
..
integration tests: stop pueued via alice user session in nixos-basics 2026-03-03 14:24:37 -06:00
lib lib/deprecations: add state version default helper 2026-03-22 11:46:51 -05:00
modules neovim: reuse more of upstream logic 2026-03-20 12:59:40 +01:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix tests/darwinScrublist: add keepassxc 2026-03-19 18:24:53 -05:00
default.nix treewide: fix spelling errors 2026-03-11 22:32:16 -05:00
package.nix tests: explicitly define NIX_CONFIG 2025-11-01 14:29:06 -05:00
stubs.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
tests.py tests: merge both flakes 2026-02-18 21:13:38 -06:00