1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules
Emily c31b6e8a03 homebrew: use mas from Nixpkgs
Currently, setting `homebrew.masApps` causes `"mas"` to automatically
be added to `homebrew.brews`. Users who want to use Homebrew only
for managing App Store apps and casks, like me, can override this
by setting `homebrew.brews = lib.mkForce [ ];` and adding Nixpkgs’
`mas` to their `environment.systemPackages`.

When the activation script path no longer depends on the built
configuration’s `environment.systemPackages`, this will no longer
work. Since this was originally added before `mas` was packaged in
Nixpkgs and we now have a perfectly serviceable binary package,
we can add it to the `$PATH` when invoking Homebrew and skip the
automatic formula installation.

As the Homebrew `bin` directory still comes first, users who
specifically want the formula can restore the previous behaviour by
explicitly adding `"mas"` to `homebrew.brews`.

Closes: #1314
2025-02-08 16:18:38 +00:00
..
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
examples {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc module: add prometheus-node-exporter service 2024-10-31 02:08:34 +01:00
networking system: tweak ShellCheck settings 2025-01-18 19:34:21 +00:00
nix nixpkgs: make config.nixpkgs.{buildPlatform,hostPlatform} write only 2025-02-03 20:54:01 +00:00
power power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
programs Merge pull request #1233 from adamcstephens/fish/package 2024-12-29 10:04:09 +11:00
security treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
services Revert "{activation-scripts,activate-system}: purify environment" 2025-01-28 02:31:59 +00:00
system Merge pull request #1327 from emilazy/push-vunnqlmqnzts 2025-02-08 14:32:00 +00:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users users: use launchctl managername to determine session type 2025-02-07 18:03:36 +00:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix homebrew: use mas from Nixpkgs 2025-02-08 16:18:38 +00:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix openssh: init module 2025-01-10 10:23:09 +11:00