2.home-manager/tests/modules
Damien Cassou 3b930bb653 services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin
Previously, if an invalid value was passed, the build would fail with:

       error: attribute '"00:02:03"' missing
       at /nix/store/sz92b5gqi0ma61d18fwbihi8p37mkvir-source/modules/services/nix-gc.nix:69:5:
           68|     in
           69|     freq.${frequency};
             |     ^
           70|

There was an assertion that should have prevented this from happening
but the crash would happen before the assertion gets a chance to stop
the build with a nice error message.

This commit both gives the assertion a chance to trigger and improves
the assertion's error message.
2025-05-15 13:07:13 -05:00
..
accounts tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
config tests/home-cursor: don't use realPkgs 2025-04-18 15:56:09 -07:00
dbus dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
files treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
home-environment treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
i18n/input-method fcitx5: fix iniFormat usage (#6899) 2025-04-23 15:10:12 -05:00
launchd treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
misc treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
programs zsh: consider zsh.{profile,login,logout,env}Extra in prezto 2025-05-13 19:59:12 -05:00
services services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin 2025-05-15 13:07:13 -05:00
systemd treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
targets-darwin treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
targets-linux treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xresources treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00