8.nix-darwin/modules
Malo Bourgon 8c29e146dd
modules/homebrew: replace brewPrefix with prefix
Closes #596

`homebrew.brewPrefix` defaulted to the bin directory (`/opt/homebrew/bin`),
not the actual Homebrew prefix (`/opt/homebrew`). This misled users into
writing `${config.homebrew.brewPrefix}/bin`, producing the broken path
`/opt/homebrew/bin/bin`.

Replace it with `homebrew.prefix`, which has correct semantics matching
`brew --prefix`. The old `brewPrefix` option is removed using
`mkRemovedOptionModule`, which catches both users who set the option and
users who read it in custom code. A warning also fires if the new `prefix`
value ends with `/bin`, catching users who copy the old value verbatim.
2026-02-10 09:26:54 -08:00
..
config config/system-path: restructure to mirror NixOS 2025-05-25 14:06:56 +10:00
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment fix(modules): fixed typos in various modules 2025-12-29 18:31:13 +02:00
examples modules/examples/lnl: drop qes 2025-12-23 14:09:41 -05:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd apply should return null if the argument is not a list 2025-09-04 13:34:55 -06:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc services/dnscrypt-proxy: init 2025-02-28 19:58:19 +07:00
networking networking: add dhcpClientId option to set DHCP Client ID 2026-01-18 14:10:56 -05:00
nix Fix typo in Nix module 2025-09-09 16:38:50 +02:00
power power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
programs programs/direnv: add enable*Integration options 2026-01-16 10:14:43 +01:00
security pam: add pam_watchid support 2025-02-25 23:51:30 +08:00
services fix(modules): fixed typos in various modules 2025-12-29 18:31:13 +02:00
system modules/homebrew: replace brewPrefix with prefix 2026-02-10 09:26:54 -08:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users activation-scripts: get rid of user activation 2025-05-16 16:34:31 +01:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix modules/homebrew: replace brewPrefix with prefix 2026-02-10 09:26:54 -08:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix networking.applicationFirewall: init 2025-06-23 00:46:57 +08:00