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 fb2bc03f92 activation-scripts: add unmanaged system Nix to activation path
Currently, the `bin` directory of the configured system
is embedded in the `$PATH` of activation scripts, but not
other elements of the default `environment.systemPath` like
`/nix/var/nix/profiles/default/bin` or `/usr/local/bin`. This
means that when nix-darwin is not managing the Nix installation,
activation scripts like Home Manager’s that want to look up the
system‐managed Nix can’t find it. Search for it on the entire
`environment.systemPath` and add the appropriate directory if found.

We leave the launchd `activate-system` daemon alone, because it has
erroneously referred to `@out@/sw/bin` forever and therefore never got
a Nix on the path to begin with. That’s a problem for another time.

(The more ideal solution is probably for Home Manager activation to
be driven by launchd or something, but that’s a longer‐term goal.)
2025-02-07 20:08:26 +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 nix: remove nix.configureBuildUsers 2025-02-07 19:44:59 +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 nix: remove nix.configureBuildUsers 2025-02-07 19:44:59 +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 nix-daemon: remove services.nix-daemon.enable 2025-02-07 19:44:59 +00:00
system activation-scripts: add unmanaged system Nix to activation path 2025-02-07 20:08:26 +00:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users system: tweak ShellCheck settings 2025-01-18 19:34:21 +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 Add --ignore-dependencies option for casks 2025-01-05 10:29:12 -03: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